aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 498123c..235ec3f 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,7 @@ LINMATH_PATH ?= ../linmath
PKG_CONFIG ?= pkg-config
LN ?= ln -sf
-LIBS := sdl2 libpng
-CPPFLAGS += -D__gl_h_
+LIBS := gl libpng sdl2
CFLAGS += $(shell $(PKG_CONFIG) --cflags $(LIBS)) -std=c11 -MMD -MP
LDFLAGS += -Wl,--as-needed
LDLIBS += $(shell $(PKG_CONFIG) --libs $(LIBS)) -lm