Make & doxyfile

This commit is contained in:
Imbus 2024-05-05 14:56:23 +02:00
parent 58e31c99a7
commit 2bdd100b04
2 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,8 @@
# Compiler
CC := gcc
GITHASH := $(shell git rev-parse --short HEAD)
# Compiler flags
CFLAGS := -Wall -Wextra -Wpedantic -std=c2x
@ -44,7 +46,7 @@ clean:
rm -rf $(BUILD_DIR) $(TARGET)
docs:
doxygen Doxyfile
PROJECT_NUMBER=git-$(GITHASH) doxygen Doxyfile
cppcheck:
cppcheck --enable=all --inconclusive --std=c11 --language=c --platform=unix64 --suppress=missingIncludeSystem $(SRCS)