Makefile (1336B)
1 JULIA=julia --procs 1 --optimize=3 --math-mode=fast --color=yes 2 PREFIX=breakup 3 SCRIPT=breakup.jl 4 5 all: \ 6 $(PREFIX)_ensemble_sigma_t0005kPa.pdf \ 7 $(PREFIX)_ensemble_sigma_t0050kPa.pdf \ 8 $(PREFIX)_ensemble_sigma_t0500kPa.pdf 9 10 11 $(PREFIX)_ensemble_sigma_t0005kPa.pdf: $(SCRIPT) 12 $(JULIA) $< --width=5e3 \ 13 --E=2e7 \ 14 --nu=0.285 \ 15 --gamma_n=0. --gamma_t=0. \ 16 --mu_s=0.4 --mu_d=0.4 \ 17 --r=5.00e2 \ 18 --tensile_strength=0005e3 \ 19 --rotating=true \ 20 --ocean_vel_fac=4e4 \ 21 --total_hours=12. \ 22 --nruns=1 \ 23 "$@" 24 25 $(PREFIX)_ensemble_sigma_t0050kPa.pdf: $(SCRIPT) 26 $(JULIA) $< --width=5e3 \ 27 --E=2e7 \ 28 --nu=0.285 \ 29 --gamma_n=0. --gamma_t=0. \ 30 --mu_s=0.4 --mu_d=0.4 \ 31 --r=5.00e2 \ 32 --tensile_strength=0050e3 \ 33 --rotating=true \ 34 --ocean_vel_fac=4e4 \ 35 --total_hours=12. \ 36 --nruns=1 \ 37 "$@" 38 39 $(PREFIX)_ensemble_sigma_t0500kPa.pdf: $(SCRIPT) 40 $(JULIA) $< --width=5e3 \ 41 --E=2e7 \ 42 --nu=0.285 \ 43 --gamma_n=0. --gamma_t=0. \ 44 --mu_s=0.4 --mu_d=0.4 \ 45 --r=5.00e2 \ 46 --tensile_strength=0500e3 \ 47 --rotating=true \ 48 --ocean_vel_fac=4e4 \ 49 --total_hours=12. \ 50 --nruns=1 \ 51 "$@" 52 53 54 .PHONY: clean 55 clean: 56 $(RM) $(PREFIX)_*.run 57 for f in $(PREFIX)_*.vts; do $(RM) $$f; done 58 for f in $(PREFIX)_*.vtp; do $(RM) $$f; done 59 for f in $(PREFIX)_*.vtu; do $(RM) $$f; done 60 $(RM) $(PREFIX)_*.pdf 61 $(RM) $(PREFIX)_*.txt