Tweak project configuration

This commit is contained in:
Tobias Linz committed 2026-11-18 12:11:57 +01:00
1 parent 9f0940d6e2
commit 29e7b9dfa7
6 files changed
+218 -1

No files matched your search

+7 -1
View File
@@ -32,6 +32,12 @@ doble : main.o $(program_obj_files)
$(program_obj_files): %.o: %.c
$(CC) -c $(FLAGS) $^ -o $@
# --------------------------
# compile_commands.json für clangd erzeugen (benötigt bear)
# --------------------------
compiledb:
bear -- $(CC) $(CFLAGS) -fsyntax-only -I$(raylibfolder) -I$(unityfolder) $(wildcard *.c)
# --------------------------
# Unit Tests
# --------------------------
@@ -46,4 +52,4 @@ ifeq ($(OS),Windows_NT)
del /f *.o doble
else
rm -f *.o doble
endif
endif