aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-15 13:34:07 +0900
committernsfisis <nsfisis@gmail.com>2025-09-15 13:34:07 +0900
commitedb1612b9f5d5485528e24470b88a7d602772ad6 (patch)
tree2bca7625a11bb59a2abb860e8b73fc43f6e1987b /Makefile
parent6994805cd5cbb17ae4ff5513ec776bb08eddec6c (diff)
downloadducc-edb1612b9f5d5485528e24470b88a7d602772ad6.tar.gz
ducc-edb1612b9f5d5485528e24470b88a7d602772ad6.tar.zst
ducc-edb1612b9f5d5485528e24470b88a7d602772ad6.zip
refactor: remove src/std.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 70c141b..6709299 100644
--- a/Makefile
+++ b/Makefile
@@ -26,10 +26,12 @@ $(BUILD_DIR):
# TODO: provide release build?
$(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS)
- $(CC) -Wall -MMD -g -O0 --std=c23 -o $@ $^
+ # TODO: use --std=c23 instead of --std=gnu23
+ $(CC) -Wall -MMD -g -O0 --std=gnu23 -o $@ $^
# TODO: provide release build?
$(BUILD_DIR)/%.o: src/%.c
- $(CC) -c $(CFLAGS) -Wall -MMD -g -O0 --std=c23 -o $@ $<
+ # TODO: use --std=c23 instead of --std=gnu23
+ $(CC) -c $(CFLAGS) -Wall -MMD -g -O0 --std=gnu23 -o $@ $<
-include $(BUILD_DIR)/*.d