~chirality-flow/chiralityflow/ChiralityFlowMG

« back to all changes in this revision

Viewing changes to Template/NLO/Utilities/makefile

  • Committer: andrew.lifson at lu
  • Date: 2021-09-02 13:57:34 UTC
  • Revision ID: andrew.lifson@thep.lu.se-20210902135734-4eybgli0iljkax9b
added fresh copy of MG5_aMC_v3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
P0=$(shell ls -dl ../SubProcesses/P0* | head -1)
 
2
P01=$(shell echo $(P0) | cut -d'/' -f3)
 
3
 
 
4
INCLUDE=-I../SubProcesses/$(P01)
 
5
EXTRAW=-I../Source
 
6
FF=gfortran -g -fno-automatic -ffixed-line-length-132 $(INCLUDE) $(EXTRAW) 
 
7
FILES=handling_lhe_events.o fill_MC_mshell.o extra_weights.o
 
8
FILES2=madfks_plot.o setcuts.o open_output_files.o pineappl_interface_dummy.o
 
9
TDFILES=dbook.o open_output_files_dummy_td.o 
 
10
HWUFILES=HwU.o open_output_files_dummy_HwU.o 
 
11
 
 
12
%.o : %.f
 
13
        $(FF) -c $<
 
14
 
 
15
all: check_events combine_plots compare_events merge_events plot_events \
 
16
        plot_events_lhef select_events split_events sum_plots uncertainties
 
17
 
 
18
check_events : $(FILES) check_events.o dbook.o pineappl_interface_dummy.o
 
19
        $(FF) $^ -o $@
 
20
 
 
21
combine_plots : combine_plots.o
 
22
        $(FF) $^ -o $@
 
23
 
 
24
compare_events : $(FILES) compare_events.o
 
25
        $(FF) $^ -o $@
 
26
 
 
27
merge_events : $(FILES) merge_events.o
 
28
        $(FF) $^ -o $@
 
29
 
 
30
plot_events_td : $(FILES) $(FILES2) $(TDFILES) plot_events.o analysis_td_pp_lvl2.o 
 
31
        $(FF) $^ -o $@
 
32
 
 
33
plot_events_HwU : $(FILES) $(FILES2) $(HWUFILES) plot_events.o analysis_HwU_pp_lvl2.o 
 
34
        $(FF) $^ -o $@
 
35
 
 
36
plot_events_lhef : $(FILES) $(FILES2) plot_events_lhef.o
 
37
        $(FF) $^ -o $@
 
38
 
 
39
select_events : $(FILES) select_events.o
 
40
        $(FF) $^ -o $@
 
41
 
 
42
split_events : $(FILES) split_events.o
 
43
        $(FF) $^ -o $@
 
44
 
 
45
sum_plots : sum_plots.o
 
46
        $(FF) $^ -o $@
 
47
 
 
48
uncertainties : uncertainties.o
 
49
        $(FF) $^ -o $@
 
50
 
 
51
clean:
 
52
        @rm -f *.o
 
53
        @rm -f check_events combine_plots compare_events merge_events plot_events \
 
54
        plot_events_lhef select_events split_events sum_plots uncertainties
 
55
        @rm -f LHEF.* res_wgt headfile