From d1d4c8678b313708b91ba0342db84d33c0bb0677 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Fri, 4 May 2018 19:57:22 +0100 Subject: 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. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf