Mercurial > hg > forks > gldragon
comparison 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 |
comparison
equal
deleted
inserted
replaced
41:eaa3e8575c12 | 42:3c7e1d3fa5a2 |
---|---|
1 CXXFLAGS ?= -DGL_GLEXT_PROTOTYPES | |
1 BINEXT ?= | 2 BINEXT ?= |
2 OBJPATH ?= ./obj/unix/ | 3 OBJPATH ?= ./obj/unix/ |
3 | 4 |
4 SDL_CFLAGS ?= $(shell pkg-config --cflags sdl2) | 5 SDL_CFLAGS ?= $(shell pkg-config --cflags sdl2) |
5 SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2) | 6 SDL_LDFLAGS ?= $(shell pkg-config --libs sdl2) |