diff options
| author | 0x221E | 2026-05-09 13:36:39 +0200 |
|---|---|---|
| committer | 0x221E | 2026-05-09 13:36:39 +0200 |
| commit | b09deac0161e1a980693d789d08991cb4fd580c8 (patch) | |
| tree | c9682db830740fd4fc65bd820eb7745011c251ab | |
| parent | ab9a7898f4fc97588a394fb0b5140eb47bfecdf5 (diff) | |
build: add -Wall -Werror -Wpedantic CFLAGS to Makefile
Enables all warnings, treats warnings as errors and stylistic
improvements are treated as warnings. This is enabled to increase
code quality.
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ INCLUDE_DIR = ./include SRC_FILES = $(shell find $(SRC_DIR) -name '*.c') OBJ_FILES = $(SRC_FILES:%=$(BUILD_DIR)/%.o) -CFLAGS = -lcurl -I./include +CFLAGS = -Wall -Wpedantic -Werror -lcurl -larchive -lzstd -I./include $(BUILD_DIR)/%.c.o: %.c @mkdir -p $(dir $@) |
