tDo not list figure makefiles as dependencies (broken with GNU make) - cngf-pf-exp1 - experiments for first paper with continuum granular model
(HTM) git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5d3e428a5545934fad149d80a873145019fa7c5a
(DIR) parent 77467c3fc2a1a55818f984e4b8ec87299b6a0149
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 12 Dec 2019 22:23:04 +0100
Do not list figure makefiles as dependencies (broken with GNU make)
Diffstat:
M Makefile | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
---
(DIR) diff --git a/Makefile b/Makefile
t@@ -1,46 +1,46 @@
REPO = 1d_fd_simple_shear
-FIGDIRS != find . -type d -maxdepth 1 -name 'fig-*' | sed 's/\.\///'
+FIGDIRS != find . -maxdepth 1 -type d -name 'fig-*' | sed 's/\.\///'
FIGURES = $(FIGDIRS:=.pdf)
default: $(FIGURES)
-fig-rate_dependence.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-rate_dependence.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-hysteresis_rate.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-hysteresis_rate.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-hysteresis_stress.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-hysteresis_stress.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-parameter_test.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-parameter_test.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-pulse_square.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-pulse_square.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-pulse_triangle.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-pulse_triangle.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-pulse_lag.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-pulse_lag.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-skin_depth.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-skin_depth.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-stick_slip_rate.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-stick_slip_rate.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-stick_slip_rate_depth.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-stick_slip_rate_depth.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-stick_slip_stress.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-stick_slip_stress.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-strain_distribution.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-strain_distribution.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
-fig-mohr_coulomb.pdf: $(@:.pdf=)/Makefile $(REPO)/$(REPO)
+fig-mohr_coulomb.pdf: $(REPO)/$(REPO)
make -C $(@:.pdf=)
$(REPO)/$(REPO): $(REPO)/Makefile