diff Makefile.gen @ 42:3c7e1d3fa5a2

Implement OpengL extension handling through new header file dmglexts.h to "define" the entrypoints we require and some wonderful preprocessor macro magic to add checks for them via SDL_GL_ExtensionSupported() and initialize function pointers with SDL_GL_GetProcAddress().
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 05 Dec 2019 21:05:43 +0200
parents eaa3e8575c12
children 7b138613e2fc
line wrap: on
line diff
--- a/Makefile.gen	Thu Dec 05 18:32:13 2019 +0200
+++ b/Makefile.gen	Thu Dec 05 21:05:43 2019 +0200
@@ -1,5 +1,5 @@
-CXXFLAGS ?= -O3 -W -Wall -DGL_GLEXT_PROTOTYPES -std=c++11
-LDFLAGS ?= 
+CXXFLAGS += -O3 -W -Wall -std=c++11
+LDFLAGS += 
 CXXFLAGS += $(SDL_CFLAGS) $(GL_CFLAGS)
 
 MKDIR ?= mkdir