diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-03-08 10:41:26 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-03-08 10:41:26 +0100 |
commit | cf1effe02d99d74db684ff324a46fa32cf186417 (patch) | |
tree | e2da0df9d817042353b53504d501176169a5c79c /src/makefile | |
parent | d5a24b3708bf71504630baf2c88a1660e4732c3c (diff) |
fix windows build system and add vscode configuration files
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 3 |
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 |