examples/testing/Zee/Makefile
1############## Make tests ###########################
2include ../test.inc
3
4NAME_BENCHMARK=mc-tester.root-Zee-10M-nosym-10MeV
5# Or use other benchmarks reference files:
6# NAME_BENCHMARK=mc-tester.root-Zee-kkmc-sym-1GeV
7# NAME_BENCHMARK=mc-tester.root-Zee-photos-100M-sym-10MeV
8
9CONF=pythia_Z.conf
10NAME=Zee
11
12PROGRAM=$(PHOTOS_ONLY)
13
14tester.$(NAME).pdf: mc-tester.$(NAME).root
15 $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
16 mv tester.pdf tester.$(NAME).pdf
17 $(VIEWER) tester.$(NAME).pdf &
18 @echo
19 @echo "Error messages redirected to /dev/null due to large output from Pythia"
20 @echo
21
22mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
23 $(PROGRAM) $(CONF) $(EVENTS) 2>/dev/null
24 mv mc-tester.root mc-tester.$(NAME).root
25
26clean:
27 rm -rf *~ booklet* tester* mc-results*
28 rm -rf MC-TESTER.DAT *_C.so *_C.d
29
30clobber: clean
31 rm -f mc-tester.$(NAME).root