Makefile (537B)
1 BIN = ../cngf-pf/cngf-pf 2 FIG != basename $(PWD) 3 4 default: ../$(FIG).pdf 5 6 strain_distribution_N10kPa.txt: $(BIN) Makefile 7 /bin/sh -c '\ 8 for N in 10 20 40 60 80 120; do \ 9 ./$(BIN) \ 10 -m 0.4 \ 11 -s 0.0369 \ 12 -o 0.05 \ 13 -L 0.64 \ 14 -n $${N}e3 \ 15 -p 0.275 \ 16 -d 0.04 \ 17 -A 1e-3 \ 18 -b 0.022 \ 19 -N > strain_distribution_N$${N}kPa.txt; \ 20 done' 21 22 ../$(FIG).pdf: fig.gp strain_distribution_N10kPa.txt damsgaard2013-sheardisp/sheardisp*-binned.dat 23 gnuplot fig.gp > $@ 24 25 clean: 26 rm -f *.txt 27 rm -f ../$(FIG).pdf 28 29 .PHONY: default clean 30 31