Mercurial > hg > forks > gldragon
view Makefile @ 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 | 6905d02bca2d |
children | 99d2c681789f |
line wrap: on
line source
CXXFLAGS ?= -DGL_GLEXT_PROTOTYPES BINEXT ?= OBJPATH ?= ./obj/unix/ SDL_CFLAGS ?= $(shell pkg-config --cflags sdl2) SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2) GL_CFLAGS ?= $(shell pkg-config --cflags gl glu) GL_LDFLAGS ?= $(shell pkg-config --libs gl glu) TOOL_LDFLAGS ?= include Makefile.gen