Make & doxyfile
This commit is contained in:
parent
58e31c99a7
commit
2bdd100b04
2 changed files with 9 additions and 3 deletions
8
Doxyfile
8
Doxyfile
|
@ -1,6 +1,10 @@
|
|||
PROJECT_NAME = MyProject
|
||||
PROJECT_NUMBER = 1.0
|
||||
PROJECT_NAME = CTree
|
||||
PROJECT_NUMBER = $(PROJECT_NUMBER)
|
||||
INPUT = src
|
||||
RECURSIVE = YES
|
||||
EXTRACT_ALL = YES
|
||||
INPUT += README.md
|
||||
USE_MDFILE_AS_MAINPAGE = README.md
|
||||
OUTPUT_DIRECTORY = docs
|
||||
#EXCLUDE = /path/to/exclude/directory
|
||||
|
||||
|
|
4
Makefile
4
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue