aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 506beaf..1772a7c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
CC := gcc
LD := $(CC)
CFLAGS := -Wall -Wextra -std=c99 -pedantic \
- -D_POSIX_C_SOURCE=200809L $(shell sdl2-config --cflags)
+ -DLZR_DISABLE_IMAGE -DLZR_DISABLE_MIXER \
+ $(shell sdl2-config --cflags)
# -D_POSIX_C_SOURCE is only used by DEVMODE
-LDFLAGS := $(shell sdl2-config --libs) -lSDL2_gfx -lSDL2_image
+LDFLAGS := $(shell sdl2-config --libs) -lSDL2_gfx
SRC := $(wildcard *.c)
OBJ := $(patsubst %.c,%.o,$(SRC))
NAME := lzr