CXX = g++ ROOTCFLAGS = $(shell root-config --cflags) ROOTLIBS = $(shell root-config --libs) INCLUDE = $(shell root-config --incdir) LIBRARIES = $(shell root-config --libdir) OTHERLIBS = -lMathCore -lMinuit -lMLP -lTreePlayer -lRIO INCDIR = include #ANALIB = -lToolbox -L ../../Toolbox/lib/ FLAGS = -fPIC all: test Dict.cc: test.cc LinkDef.h rootcint -f $@ -c LinkDef.h test: test.cc Dict.cc $(CXX) $(ROOTCFLAGS) Dict.cc test.cc -I$(INCLUDE) -L$(LIBRARIES) -I$(INCDIR) -L./ $(ROOTLIBS) $(OTHERLIBS) -o test .PHONY: clean clean: rm -f $(ODIR)/*.o *~ core $(INCDIR)/*~