tFix paths and clean target in makefiles - 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 c089ca04c5236bba4aae61c03e9dd9d34f5f81b2
(DIR) parent e67662e737625ad9ae464b8af4f75eeca37387d4
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 25 Jun 2019 10:13:08 +0200
Fix paths and clean target in makefiles
Diffstat:
A 1d_fd_simple_shear | 1 +
M Makefile | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/1d_fd_simple_shear b/1d_fd_simple_shear
t@@ -0,0 +1 @@
+Subproject commit e9f983205ea05513c2cda4ea4e899b58e22ba258
(DIR) diff --git a/Makefile b/Makefile
t@@ -4,8 +4,8 @@ FIGURES := $(FIGDIRS:/=).pdf
default: $(FIGURES)
-fig%.pdf: fig%
- make -C fig%
+fig%.pdf: fig% $(REPO)/$(REPO)
+ make -C $<
$(REPO)/$(REPO): $(REPO)/Makefile
make -C $(REPO)
t@@ -17,7 +17,7 @@ print-%:
@echo '$*=$($*)'
clean:
- $(RM) -r $(REPO)/
+ make -C $(REPO)/ clean
$(RM) -r fig*.pdf
.PHONY: default figures clean