diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,10 +1,9 @@ CC := gcc LD := $(CC) CFLAGS := -Wall -Wextra -std=c99 -pedantic \ - -DLZR_DISABLE_IMAGE -DLZR_DISABLE_MIXER \ - $(shell sdl2-config --cflags) + -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 +LDFLAGS := $(shell sdl2-config --libs) -lSDL2_gfx -lSDL2_image SRC := $(wildcard *.c) OBJ := $(patsubst %.c,%.o,$(SRC)) NAME := lzr |