Makefile: Added recipe for generating compile_commands.json

This commit is contained in:
2026-01-24 14:17:40 +00:00
parent fda4a63732
commit 85f5502681

View File

@@ -35,6 +35,10 @@ $(DIST):
$(DEPDIR):
mkdir -p $(patsubst %,$(DEPDIR)/%, $(MODULES))
clangd: compile_commands.json
compile_commands.json: Makefile
bear -- $(MAKE) -B MODE=debug
.PHONY: run clean
ARGS=
run: $(OUT)