examples/testing/Wenu/Makefile
1 ############## Make tests ###########################
2 include ../test.inc
3 
4 NAME_BENCHMARK=mc-tester.root-Wenu-photos-100M-sym-10MeV
5 
6 
7 CONF=pythia_W.conf
8 NAME=Wenu
9 
10 PROGRAM=$(PHOTOS_ONLY)
11 
12 tester.$(NAME).pdf: mc-tester.$(NAME).root
13  $(COMPARE) $(NAME_BENCHMARK) mc-tester.$(NAME).root
14  mv tester.pdf tester.$(NAME).pdf
15  $(VIEWER) tester.$(NAME).pdf &
16 
17 mc-tester.$(NAME).root: $(PROGRAM) $(CONF)
18  $(PROGRAM) $(CONF) $(EVENTS)
19  mv mc-tester.root mc-tester.$(NAME).root
20 
21 clean:
22  rm -rf *~ booklet* tester* mc-results*
23  rm -rf MC-TESTER.DAT *_C.so *_C.d
24 
25 clobber: clean
26  rm -f mc-tester.$(NAME).root