CXXFLAGS += -I$(HALLD_HOME)/include -I$(JANA_HOME)/include CXXFLAGS += $(shell root-config --cflags) LDFLAGS += $(shell root-config --libs) LDFLAGS += -L$(HALLD_HOME)/lib/$(BMS_OSNAME) -lBCAL -lHDDM darkhits: darkhits.cc smear_bcal.cc SampleGaussian.cc g++ $(CXXFLAGS) darkhits.cc smear_bcal.cc SampleGaussian.cc $(LDFLAGS) -o $@ clean: rm -f darkhits