summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-10-15 14:16:10 -0700
committerJulian Blake Kongslie2022-10-15 14:17:01 -0700
commit67dcb8f200d1a9e7bedcb025691e8d73c99b5c11 (patch)
tree7f10729d91bc67018afd0291981279a374a51aa5
parentDepend on external nanosim dependency. (diff)
downloadbiggolf-67dcb8f200d1a9e7bedcb025691e8d73c99b5c11.tar.xz
Switch the way we track if submodules need to be inited.
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
m---------nanosim0
3 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 796b96d..4a28f52 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1/.have_submodules
1/build 2/build
diff --git a/Makefile b/Makefile
index 5c1228b..daec617 100644
--- a/Makefile
+++ b/Makefile
@@ -33,11 +33,11 @@ clean:
33.SECONDARY: 33.SECONDARY:
34.SUFFIXES: 34.SUFFIXES:
35 35
36nanosim/.present: 36.have_submodules:
37 git submodule update --init --recursive 37 git submodule update --init --recursive
38 @touch $@ 38 @touch $@
39 39
40-include nanosim/.present 40-include .have_submodules
41 41
42override SOURCES := $(shell find -\( -name build -prune -\) -o -\( -\( -name \*.bin -o -name \*.cpp -o -name \*.pal -\) -print -\)) 42override SOURCES := $(shell find -\( -name build -prune -\) -o -\( -\( -name \*.bin -o -name \*.cpp -o -name \*.pal -\) -print -\))
43 43
diff --git a/nanosim b/nanosim
Subproject fb6c230eb8139006c954e8906690009c4f040c4 Subproject f795e6c7224c0cdeedb0c2a7bccc8cae8991315