Add flag about c standard
parent
ba0fc142d4
commit
0168c89155
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in New Issue