From a67704ebffdb98dce056e2e94ca433e568cb33d9 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 09072e9..67ee4cf 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ $(OBJDIR)/platform: mkdir -p $(OBJDIR)/platform $(OBJDIR)/%.o: $(SRCDIR)/%.c - $(CC) -c -o $@ $< $(CFLAGS) $(INCLUDE) + $(CC) -c -o -std=c11 $@ $< $(CFLAGS) $(INCLUDE) $(OUT): $(OBJDIR)/platform $(OBJ) $(CC) -o $@ $(OBJ) $(LDFLAGS) $(DEFLDFLAGS)