tAdd Makefile that pulls and builds submodule - cngf-pf-exp1 - experiments for … | |
git clone git://src.adamsgaard.dk/manus_continuum_granular1_exp | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit 51397728eb03f8a2c0fe63da4d1ab07d8cea15f8 | |
parent 2b5fbaa523b0a02bcb6bef3004262b4eb4da1a0d | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 24 Jun 2019 16:58:02 +0200 | |
Add Makefile that pulls and builds submodule | |
Diffstat: | |
A Makefile | 12 ++++++++++++ | |
1 file changed, 12 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -0,0 +1,12 @@ | |
+REPO = 1d_fd_simple_shear | |
+ | |
+$(REPO)/$(REPO): $(REPO) | |
+ make -C $< | |
+ | |
+$(REPO): | |
+ git submodule update --init --recursive | |
+ | |
+clean: | |
+ $(RM) -r $(REPO)/ | |
+ | |
+.PHONY: clean default |