commit 9f114311d0a111535573a5f4da22ddf24a12282d
parent 2cb735cfd20205a4612996e4e965de5bdf55472d
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sun, 10 Mar 2019 08:08:23 +0100
Fetch submodules with makefile target
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -21,7 +21,10 @@ general.diff: config.h
cp tabbed/config.def.h tabbed/config.h
-diff -u tabbed/config.h $< > $@
-.PHONY: clean
+tabbed/:
+ git submodule update --init --recursive
+
+.PHONY: clean install default
clean:
$(RM) -r tabbed/
$(RM) general.diff