aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-01-14 21:36:39 +0900
committernsfisis <nsfisis@gmail.com>2026-01-14 21:36:39 +0900
commiteca1a0d51e7c8fc4855d0303c17ed8c740d595d6 (patch)
tree7c23b60d2534296fb7efbf2d5de2bc4cca05dbe8 /Makefile
parent66f5d895a4d071db494b49777cba3ac02cb74773 (diff)
downloadducc-eca1a0d51e7c8fc4855d0303c17ed8c740d595d6.tar.gz
ducc-eca1a0d51e7c8fc4855d0303c17ed8c740d595d6.tar.zst
ducc-eca1a0d51e7c8fc4855d0303c17ed8c740d595d6.zip
refactor: enable -Wextra flag on buildHEADmain
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a1204ad..c4eb6bb 100644
--- a/Makefile
+++ b/Makefile
@@ -28,11 +28,11 @@ $(BUILD_DIR):
# TODO: provide release build?
# TODO: use -std=c23 instead of -std=gnu23
$(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS)
- $(CC) -Wall -MMD -g -O0 -std=gnu23 -o $@ $^
+ $(CC) -Wall -Wextra -MMD -g -O0 -std=gnu23 -o $@ $^
# TODO: provide release build?
# TODO: use -std=c23 instead of -std=gnu23
$(BUILD_DIR)/%.o: src/%.c
- $(CC) -c $(CFLAGS) -Wall -MMD -g -O0 -std=gnu23 -o $@ $<
+ $(CC) -c $(CFLAGS) -Wall -Wextra -MMD -g -O0 -std=gnu23 -o $@ $<
-include $(BUILD_DIR)/*.d