-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
96 lines (71 loc) · 2.71 KB
/
Makefile
File metadata and controls
96 lines (71 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
CXX = c++ -std=c++11
CXXFLAGS = -O3 -Wall -Wextra -Werror
PINEAPPL_DEPS != pkg-config --cflags --libs pineappl_capi
LHAPDF_DEPS != pkg-config --cflags --libs lhapdf
PROGRAMS = \
fill-grid-deprecated \
fill-grid \
fill-custom-grid-deprecated \
advanced-convolution-deprecated \
advanced-convolution \
advanced-filling-deprecated \
advanced-filling \
convolve-grid-deprecated \
convolve-grid \
get-subgrids \
evolve-grid \
evolve-grid-identity \
deprecated \
display-channels-deprecated \
display-channels \
display-orders \
display-orders-deprecated \
merge-grids \
modify-grid \
fix-convolution
all: $(PROGRAMS)
test-examples: $(PROGRAMS)
set -e && for i in $(PROGRAMS); do ./$${i} > output; diff -u $${i}.output output; done; rm output
advanced-convolution-deprecated: advanced-convolution-deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
advanced-convolution: advanced-convolution.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
advanced-filling-deprecated: advanced-filling-deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
advanced-filling: advanced-filling.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
convolve-grid-deprecated: convolve-grid-deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
convolve-grid: convolve-grid.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
fix-convolution: fix-convolution.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
deprecated: deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
get-subgrids: get-subgrids.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
evolve-grid: evolve-grid.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
evolve-grid-identity: evolve-grid-identity.cpp
$(CXX) $(CXXFLAGS) $< $(LHAPDF_DEPS) $(PINEAPPL_DEPS) -o $@
display-channels-deprecated: display-channels-deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
display-channels: display-channels.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
display-orders-deprecated: display-orders-deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
display-orders: display-orders.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
fill-custom-grid-deprecated: fill-grid-deprecated.cpp
$(CXX) $(CXXFLAGS) $< -DUSE_CUSTOM_GRID_PARAMETERS $(PINEAPPL_DEPS) -o $@
fill-grid-deprecated: fill-grid-deprecated.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
fill-grid: fill-grid.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
merge-grids: merge-grids.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
modify-grid: modify-grid.cpp
$(CXX) $(CXXFLAGS) $< $(PINEAPPL_DEPS) -o $@
.PHONY: clean
clean:
rm -f $(PROGRAMS) *.pineappl *.lz4