forked from freudenreichan/info2Praktikum-DobleSpiel
Tweak project configuration
This commit is contained in:
6 files changed
+218
-1
No files matched your search
+7
-1
@@ -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
|
||||
Reference in new issue
Block a user