Added documentation

This commit is contained in:
2024-07-31 11:22:30 +02:00
parent e60ed60797
commit 4e25735cd9
4 changed files with 825 additions and 9 deletions

View File

@@ -8,16 +8,15 @@ DEBUG_CFLAGS = -Wall -Wextra -Werror -pedantic-errors -fstack-protector-strong \
-Wwrite-strings -std=c99 -g
CFLAGS = -Wall -Wextra -Werror -pedantic-errors -Wwrite-strings -std=c99 -O3
GIT_HASH := $(shell git rev-parse --short HEAD)
BUILD_FLAGS = -DVERSION=\"0.0.1\" -DHASH=\"$(GIT_HASH)\"
BUILD_FLAGS = -DVERSION=\"0.0.1\"
build: $(TARGET)
debug: $(DEBUG_TARGET)
$(TARGET): main.c
$(TARGET): wolf.c
$(CC) $(CFLAGS) $(BUILD_FLAGS) $^ -o $@
$(DEBUG_TARGET): main.c
$(DEBUG_TARGET): wolf.c
$(CC) $(DEBUG_CFLAGS) $(BUILD_FLAGS) $^ -o $@
clean: