################################################################## # # makefile # # for the MARS IFAE library # ################################################################## # @maintitle # @code # # please change all system depend values in the # config.mk.${OSTYPE} file # # include ../../../Makefile.conf.$(OSTYPE) include ../../../Makefile.conf.general PROGRAMS = makeHillas controlPlot #psffit falseSource srcPos optimizeCuts controlPlot SOLIB = $(MARSSYS)/libmars.so #------------------------------------------------------------------------------ INCLUDES = -I. \ -I../library \ -I../../../mbase \ -I../../../mfbase \ -I../../../mjobs \ -I../../../mpedestal \ -I../../../mbadpixels \ -I../../../mfileio \ -I../../../mraw \ -I../../../manalysis \ -I../../../mgui \ -I../../../mgeom \ -I../../../msignal \ -I../../../mcalib \ -I../../../mfilter \ -I../../../mhbase \ -I../../../mhcalib \ -I../../../mimage \ -I../../../mpointing \ -I../../../mcamera \ -I../../../mhist \ -I../../../mastro \ -I../../../mreport \ -I../../../mranforest \ -I../../../mtemp all: $(PROGRAMS) include ../../../Makefile.rules $(PROGRAMS): $(PROGRAMS:=.o) @echo " Linking $@ ..." $(CXX) $(CXXFLAGS) $(ROOTGLIBS) $(SOLIB) $@.o $(MARS_LIB) -o $@ clean: rmobjs rmcore mrproper: clean rmbak rm -f $(PROGRAMS) # @endcode