aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1772a7c..506beaf 100644
--- a/Makefile
+++ b/Makefile
@@ -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