-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (23 loc) · 1.48 KB
/
Makefile
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
FACT_URL = https://factdata.app.tu-dortmund.de/fp2
all: build/data-structures/fact-timeseries.pdf build/data-structures/lst_images.pdf
all: $(addprefix build/inverse-problems/, fact_unfolding.pdf fact_response.pdf tau_vs_correlation.pdf)
build/data-structures/fact-timeseries.pdf: data-structures/fact-timeseries.py | build/data-structures
MAPLOTLIBRC=matplotlibrc TEXINPUTS=$$(pwd): python $< $@
build/data-structures/lst_images.pdf: data-structures/lst_images.py | build/data-structures
MAPLOTLIBRC=matplotlibrc TEXINPUTS=$$(pwd): python $<
build/inverse-problems/fact_response.pdf: build/inverse-problems/fact_unfolding.pdf
build/inverse-problems/tau_vs_correlation.pdf: build/inverse-problems/fact_unfolding.pdf
build/inverse-problems/fact_unfolding.pdf: build/inverse-problems/open_crab_sample_dl3.hdf5
build/inverse-problems/fact_unfolding.pdf: build/inverse-problems/gamma_test_dl3.hdf5
build/inverse-problems/fact_unfolding.pdf: build/inverse-problems/gamma_corsika_headers.hdf5
build/inverse-problems/fact_unfolding.pdf: matplotlibrc
build/inverse-problems/fact_unfolding.pdf: inverse-problems/open_crab_sample_unfolding.py
MAPLOTLIBRC=matplotlibrc TEXINPUTS=$$(pwd): python $<
build/obs-sim-mismatches-ml/roc_curves.pdf: obs-sim-mismatches-ml/obs_sim_mismatches.py
MAPLOTLIBRC=matplotlibrc TEXINPUTS=$$(pwd): python $<
build/inverse-problems/%.hdf5: | build/inverse-problems
curl --fail -Lo $@ $(FACT_URL)/$*.hdf5
build/inverse-problems:
mkdir -p $@
build/data-structures:
mkdir -p $@