ROOT_CFLAGS=$(shell root-config --cflags) ROOT_LIBS=$(shell root-config --libs) -lMinuit CXX=g++ -c LD=g++ CFLAGS=-I. -I/home/cdfsoft/dist/releases/$(SRT_BASE_RELEASE)/include/ $(ROOT_CFLAGS) CLIBS=-L/home/cdfsoft/dist/releases/$(SRT_BASE_RELEASE)/lib/$(BFARCH) -lCLHEP -lExceptions -lZMutility -lZMtools $(ROOT_LIBS) all: OfflineCalo OfflineCalo.o: OfflineCalo.cxx $(CXX) $(CFLAGS) OfflineCalo.cxx OfflineCalo: OfflineCalo.o $(LD) $(LDFLAGS) -o OfflineCalo OfflineCalo.o $(CLIBS)