5 BINARIES = therm_events therm_tree
6 HSOURCES = Parser.cxx ParticleType.cxx DecayChannel.cxx Integrator.cxx ParticleDB.cxx DecayTable.cxx Particle.cxx Event.cxx ParticleDecayer.cxx ReadPar.cxx Hypersurface.cxx
7 HEADERS = $(HSOURCES:.cxx=.h)
8 SOURCES = $(HSOURCES) therm_events.cxx
9 OBJECTS = $(SOURCES:.cxx=.o)
11 CPPOPT = -Wno-deprecated `root-config --cflags`
12 COPTN = -c -O0 -g ${CPPOPT} -D_DEBUG_LEVEL_=1
13 COPT = -c -O0 -g ${CPPOPT} -D_DEBUG_LEVEL_=1
14 LLIB = `root-config --libs` -L$(ROOTSYS)/lib -lm -lgcc -g
18 therm_events: $(OBJECTS)
19 $(LD) $(LLIB) -o $@ $(OBJECTS)
21 therm_tree: therm_tree.o
22 $(LD) $(LLIB) -o $@ therm_tree.o
24 therm_tree.o: therm_tree.C
25 $(CC) $(COPT) -o $@ $^
28 $(CC) $(COPT) -o $@ $<
31 $(SHELL) -ec '$(CC) -MM $(CPPOPT) $< | sed '\''s/\($*\)\.o[ :]*/\1.o $@ : /g'\'' > $@; [ -s $@ ] || rm -f $@'
33 include $(SOURCES:.cxx=.d)
36 rm -f *.o therm_events therm_tree therm_events.exe therm_tree.exe *.d
41 package: $(SOURCES) $(HEADERS) Makefile therminator.in therm_tree.C ./share/particles.data ./share/decays.data THGlobal.h figure*.C runevents.sh
42 tar zcvf therminator-2_0.tar.gz $^