summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author0x221E2026-05-09 13:36:39 +0200
committer0x221E2026-05-09 13:36:39 +0200
commitb09deac0161e1a980693d789d08991cb4fd580c8 (patch)
treec9682db830740fd4fc65bd820eb7745011c251ab
parentab9a7898f4fc97588a394fb0b5140eb47bfecdf5 (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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 54f9d48..1720a5f 100644
--- a/Makefile
+++ b/Makefile
@@ -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 $@)