From 0168c89155640f87918e14558db2308e5bcc644f Mon Sep 17 00:00:00 2001 From: Nakidai Date: Fri, 23 Feb 2024 17:13:02 +0300 Subject: [PATCH] Add flag about c standard --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 25c1a42..7932892 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ $(OBJDIR)/platform: mkdir -p $(OBJDIR)/platform $(OBJDIR)/%.o: $(SRCDIR)/%.c - $(CC) -c -o $@ $< $(CFLAGS) $(DEFCFLAGS) $(INCLUDE) + $(CC) -c -std=c11 -o $@ $< $(CFLAGS) $(DEFCFLAGS) $(INCLUDE) $(OUT): $(OBJDIR)/platform $(OBJ) $(CC) -o $@ $(OBJ) $(LDFLAGS) $(DEFLDFLAGS)