# # # ROOTCFLAGS := $(shell root-config --cflags) ROOTLIBS := $(shell root-config --libs) ROOTGLIBS := $(shell root-config --glibs) OPT = -o2 -g -v CXXOPT = NOOPT = EXCEPTION = CXX = g++ CXXFLAGS = $(ROOTCFLAGS) -O -Wall -fPIC -Wno-deprecated LD = g++ LDFLAGS = -O LIBS = $(ROOTLIBS) GLIBS = $(ROOTGLIBS) # # -- list here the single names of programs you want + .o objects = selection_cutflow.o ZCandidates.o HCandidates.o Truth.o Trigger.o Electron.o Muon.o RawElectron.o all : selection_cutflow selection_cutflow.o : selection_cutflow.cc selection_cutflow : $(objects) @echo "<**Linking**> " @$(LD) $(LDFLAGS) $(objects) $(LIBS) -o selection_cutflow @chmod 755 selection_cutflow clean: @rm -rf *.o