From e09613812ce955c074238e8c91a0ed6eca3dc86f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 31 Aug 2025 16:50:46 +0900 Subject: feat: enable -Wall flag on build --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9505295..3e3a420 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,9 @@ $(BUILD_DIR): @mkdir -p $(BUILD_DIR) $(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS) - $(CC) -MMD -g -O0 -o $@ $^ + $(CC) -Wall -MMD -g -O0 -o $@ $^ $(BUILD_DIR)/%.o: src/%.c - $(CC) -c -MMD -g -O0 -o $@ $< + $(CC) -c -Wall -MMD -g -O0 -o $@ $< -include $(BUILD_DIR)/*.d -- cgit v1.2.3-70-g09d2