diff options
| author | Julian Blake Kongslie | 2022-10-15 14:16:10 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-10-15 14:17:01 -0700 |
| commit | 67dcb8f200d1a9e7bedcb025691e8d73c99b5c11 (patch) | |
| tree | 7f10729d91bc67018afd0291981279a374a51aa5 | |
| parent | Depend on external nanosim dependency. (diff) | |
| download | biggolf-67dcb8f200d1a9e7bedcb025691e8d73c99b5c11.tar.xz | |
Switch the way we track if submodules need to be inited.
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 4 | ||||
| m--------- | nanosim | 0 |
3 files changed, 3 insertions, 2 deletions
| @@ -1 +1,2 @@ | |||
| 1 | /.have_submodules | ||
| 1 | /build | 2 | /build |
| @@ -33,11 +33,11 @@ clean: | |||
| 33 | .SECONDARY: | 33 | .SECONDARY: |
| 34 | .SUFFIXES: | 34 | .SUFFIXES: |
| 35 | 35 | ||
| 36 | nanosim/.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 | ||
| 42 | override SOURCES := $(shell find -\( -name build -prune -\) -o -\( -\( -name \*.bin -o -name \*.cpp -o -name \*.pal -\) -print -\)) | 42 | override 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 | ||
