-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (26 loc) · 807 Bytes
/
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
39
40
NC_PATH_enkf=/home/asmundb/SURFEX2/EXPERIMENTS/SODA_EnKF/time_series/
NC_PATH_ekf=/home/asmundb/SURFEX2/EXPERIMENTS/SODA_EKF/time_series/
.PHONY: enkf_dat
enkf_dat:
Rscript Rscript/read_timeseries_output.R $(NC_PATH_enkf) dat/EnKF/ WG2 T T T T
# Automated variables
# $< is first dependency
# $^ is all dependencies
# $@ is the target
## hell
#.PHONY: all
#all: timeserie figures/diffr.pdf
#.PHONY: timeserie
#timeserie: Makefile.soda Makefile.openloop
# make -f Makefile.soda -j 4
# make -f Makefile.openloop -j 4
#.PHONY: dats
#dats: $(SODA_DIR)/WG1.dir $(OPENLOOP_DIR)/WG1.dir
#figures/diffr.pdf: $(DAT_FILES) Rscript/compare.R
# Rscript Rscript/compare.R $(DAT_FILES) $@ $(POINTS)
.PHONY : clean
clean:
## self documenting makefile
.PHONY : help
help: Makefile
@sed -n 's/^##//p' $<