00001 00002 examples = cascade hepmcreader herwig herwigpp pythia6 pythia8 00003 00004 .PHONY: all run clean $(examples) 00005 00006 all: $(examples) 00007 00008 cascade: force 00009 -@$(MAKE) -C $@ -f Makefile_$@ 00010 herwig: force 00011 -@$(MAKE) -C $@ -f Makefile_$@ 00012 herwigpp: force 00013 -@$(MAKE) -C $@ -f Makefile_$@ 00014 pythia6: force 00015 -@$(MAKE) -C $@ -f Makefile_$@ 00016 pythia8: force 00017 -@$(MAKE) -C $@ -f Makefile_$@ 00018 hepmcreader: force 00019 @$(MAKE) -C hepmcreader 00020 00021 run: 00022 -cd cascade; ./cascade.exe Process.config > ../cascade.log; mv Cascade_test.root .. 00023 -cd herwig; ./herwig.exe Process.config > ../herwig.log; mv Herwig_test.root .. 00024 -cd herwigpp; ./herwigpp_$(Herwigppversion).exe Process.config > ../herwigpp.log; mv Herwigpp_test.root .. 00025 -cd pythia6; ./pythia6.exe Process.config > ../pythia6.log; mv Pythia6_test.root .. 00026 -cd pythia8; ./pythia8.exe Process.config > ../pythia8.log; mv Pythia8_test.root .. 00027 -cd hepmcreader; ./reader.exe Process.config > ../hepmcreader.log; mv HepMCReader_test.root .. 00028 00029 clean: 00030 @$(MAKE) -C cascade -f Makefile_cascade clean 00031 @$(MAKE) -C herwig -f Makefile_herwig clean 00032 @$(MAKE) -C herwigpp -f Makefile_herwigpp clean 00033 @$(MAKE) -C pythia6 -f Makefile_pythia6 clean 00034 @$(MAKE) -C pythia8 -f Makefile_pythia8 clean 00035 @$(MAKE) -C hepmcreader clean 00036 -rm -f *.log *.root 00037 00038 force: ;