forked from nakidai/csnake
1
0
Fork 0

Add flag about c standard

Nakidai 2024-02-23 17:13:02 +03:00
parent eb82ad3173
commit a67704ebff
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ $(OBJDIR)/platform:
mkdir -p $(OBJDIR)/platform mkdir -p $(OBJDIR)/platform
$(OBJDIR)/%.o: $(SRCDIR)/%.c $(OBJDIR)/%.o: $(SRCDIR)/%.c
$(CC) -c -o $@ $< $(CFLAGS) $(INCLUDE) $(CC) -c -o -std=c11 $@ $< $(CFLAGS) $(INCLUDE)
$(OUT): $(OBJDIR)/platform $(OBJ) $(OUT): $(OBJDIR)/platform $(OBJ)
$(CC) -o $@ $(OBJ) $(LDFLAGS) $(DEFLDFLAGS) $(CC) -o $@ $(OBJ) $(LDFLAGS) $(DEFLDFLAGS)