CXXFLAGS += -I. -I$(HALLD_HOME)/include `root-config --cflags` CFLAGS = $(CXXFLAGS) install: plot_resids install plot_resids $(HALLD_MY)/bin/$(BMS_OSNAME) plot_resids: plot_resids.o hddm_fitter.o g++ -o plot_resids plot_resids.o hddm_fitter.o `root-config --libs` plot_resids.o: hddm_fitter.h hddm_fitter.h: ../fitter/fitter_template.hddm hddm-c ../fitter/fitter_template.hddm hddm_fitter.o: hddm_fitter.c gcc -c $(CFLAGS) hddm_fitter.c install: install plot_resids $(HALLD_MY)/bin/$(BMS_OSNAME)/