aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-03 20:40:18 +0900
committernsfisis <nsfisis@gmail.com>2025-09-03 20:40:18 +0900
commit1d7cd873dff0ee54aa41434c8b001a5cd467dc3c (patch)
tree88c0a73206b5b81731e86d668ecb3ed2f7b6df16 /Makefile
parent980d73ce25b116e645b16e9ed37dcf55fdffad7a (diff)
downloadducc-1d7cd873dff0ee54aa41434c8b001a5cd467dc3c.tar.gz
ducc-1d7cd873dff0ee54aa41434c8b001a5cd467dc3c.tar.zst
ducc-1d7cd873dff0ee54aa41434c8b001a5cd467dc3c.zip
feat: add --std=c23
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 773f3d7..e9b1143 100644
--- a/Makefile
+++ b/Makefile
@@ -26,10 +26,10 @@ $(BUILD_DIR):
# TODO: provide release build?
$(BUILD_ROOT_DIR)/$(TARGET): $(OBJECTS)
- $(CC) -Wall -MMD -g -O0 -o $@ $^
+ $(CC) -Wall -MMD -g -O0 --std=c23 -o $@ $^
# TODO: provide release build?
$(BUILD_DIR)/%.o: src/%.c
- $(CC) -c -Wall -MMD -g -O0 -o $@ $<
+ $(CC) -c -Wall -MMD -g -O0 --std=c23 -o $@ $<
-include $(BUILD_DIR)/*.d