forked from nakidai/csnake
Add flag about c standard
parent
eb82ad3173
commit
a67704ebff
2
Makefile
2
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue