diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,6 +1,8 @@ CC := gcc LD := $(CC) -CFLAGS := -Wall -Wextra -std=c99 -pedantic $(shell sdl2-config --cflags) +CFLAGS := -Wall -Wextra -std=c99 -pedantic \ + -D_POSIX_C_SOURCE=200809L $(shell sdl2-config --cflags) +# -D_POSIX_C_SOURCE is only used by DEVMODE LDFLAGS := $(shell sdl2-config --libs) -lSDL2_gfx -lSDL2_image -lSDL2_mixer SRC := $(wildcard *.c) OBJ := $(patsubst %.c,%.o,$(SRC)) |