aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
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