diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-04 19:57:22 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2018-05-04 20:05:52 +0100 |
commit | d1d4c8678b313708b91ba0342db84d33c0bb0677 (patch) | |
tree | 9f4a0fcdf2be9fdefd2a976c35376f2a2b00fa09 /Makefile | |
parent | bc01efbb0c2f01871cbfdf8bfd779c6262e34c17 (diff) | |
download | faqe-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-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |