tMakefile - cngf-pf-exp2 - experiments for second paper with continuum granular model
(HTM) git clone git://src.adamsgaard.dk/cngf-pf-exp2
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) LICENSE
---
tMakefile (515B)
---
1 REPO = cngf-pf
2 FIGDIRS != find . -maxdepth 1 -type d -name 'fig-*' | sed 's/\.\///'
3 FIGURES = $(FIGDIRS:=.pdf)
4
5 default: $(FIGURES)
6
7 fig-rate_dependence.pdf: $(REPO)/$(REPO)
8 (cd $(@:.pdf=) && make)
9
10 fig-strain_distribution.pdf: $(REPO)/$(REPO)
11 (cd $(@:.pdf=) && make)
12
13 $(REPO)/$(REPO): $(REPO)/Makefile
14 make -C $(REPO)
15
16 $(REPO)/Makefile:
17 git submodule update --init --recursive
18
19 clean:
20 make -C $(REPO)/ clean
21 rm -f fig*.pdf
22 for d in $(FIGDIRS); do (cd $$d && make clean); done
23
24 .PHONY: default figures clean