# variables to use in the make (J.Thaler email 01.02) FASTJETCFLAGS=$(shell fastjet-config --cxxflags) FASTJETLIBS=$(shell fastjet-config --libs) fastJetVRClass: MyDict.cxx fastJetVRClass.cxx `root-config --cxx --cflags` $(FASTJETCFLAGS) -I. -I../CoreJetAlgorithm -O3 -fPIC -shared -o libFastJetVRClass.so fastJetVRClass.cxx MyDict.cxx AKTVR.cc ../CoreJetAlgorithm/CoreJetAlgorithm.cc $(FASTJETLIBS) ../libfjplugins.a `root-config --glibs` # GENERATE DICTIONARY!! # dollar-at puts the target name in its place # -p requests use of compiler's preprocessor instead of CINT's preprocessor. # useful to handle header files with macro construct not handled by CINT. # names of all prerequisites (dependencies), with spaces between them. $^ omits duplicate prerequisites MyDict.cxx: fastJetVRClass.h LinkDef.h rootcint -f $@ -c $(FASTJETCFLAGS) -p $^ clean: rm MyDict* *.so