cngf-pf-exp2

experiments for second paper with continuum granular model
git clone git://src.adamsgaard.dk/cngf-pf-exp2 # fast
git clone https://src.adamsgaard.dk/cngf-pf-exp2.git # slow
Log | Files | Refs | Submodules | LICENSE Back to index

Makefile (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