Add flag about c standard

Nakidai 2024-02-23 17:13:02 +03:00 committed by Nakidai
parent ba0fc142d4
commit 0168c89155
Signed by: nakidai
GPG Key ID: 18AD605FDA13FE5A
1 changed files with 1 additions and 1 deletions

View File

@ -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)