aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTomasz Kramkowski <tk@the-tk.com>2018-05-04 19:57:22 +0100
committerTomasz Kramkowski <tk@the-tk.com>2018-05-04 20:05:52 +0100
commitd1d4c8678b313708b91ba0342db84d33c0bb0677 (patch)
tree9f4a0fcdf2be9fdefd2a976c35376f2a2b00fa09 /Makefile
parentbc01efbb0c2f01871cbfdf8bfd779c6262e34c17 (diff)
downloadfaqe-d1d4c8678b313708b91ba0342db84d33c0bb0677.tar.gz
faqe-d1d4c8678b313708b91ba0342db84d33c0bb0677.tar.xz
faqe-d1d4c8678b313708b91ba0342db84d33c0bb0677.zip
Replace manual definitions of GL types and enums with GL/gl.h
This is cumbersome and pointless. The goal is to write a simple loader not to rewrite the entire OpenGL header file.
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