aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorFlenk008 <frenk_0_0@hotmail.com>2023-03-09 18:59:53 +0100
committerGitHub <noreply@github.com>2023-03-09 18:59:53 +0100
commit569558ea9502b5e07ac4825ca94cadef0e65f0cf (patch)
tree0172ff30e85f4ba69c7516805c167cf4e011624b /src/makefile
parentb82afe9a241fc61c9b4cd64676c3ed804e240ae1 (diff)
parentcf1effe02d99d74db684ff324a46fa32cf186417 (diff)
Merge branch 'lonkaars:dev' into GameLogic
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefile b/src/makefile
index 1f1dc65..1115874 100644
--- a/src/makefile
+++ b/src/makefile
@@ -4,6 +4,7 @@ TARGET = main
# platform is ds (desktop) or stm (stm32)
PLATFORM = ds
+# if your editor uses compile_commands.json for autocomplete, you should run `make compile_commands.json` again
HOST=$(strip $(shell uname -o))
@@ -74,7 +75,7 @@ flash: $(TARGET).bin
$(TARGET): $(OBJS)
$(LD) $^ $(LFLAGS) -o $@
-compile_commands.json:
+compile_commands.json: makefile stm32.mk ds.mk
compiledb make -Bn
../scripts/compiledb-full-path-mingw.sh compile_commands.json