Fix building the OpenGL3 with the Makefile
Why can't any buildsystems just be good Like, seriously? Why does pkg-config not have an OpenGL package, so I don't have to deal with this stupid -lopengl32/-lGL stuff? ...Why isn't there a shim libGL that just maps straight to opengl32.lib? Arg
This commit is contained in:
parent
c4599bc146
commit
3a10bf57cb
1 changed files with 6 additions and 0 deletions
6
Makefile
6
Makefile
|
@ -217,6 +217,12 @@ ifeq ($(RENDERER), OpenGL3)
|
|||
else
|
||||
LIBS += `pkg-config glew --libs`
|
||||
endif
|
||||
|
||||
ifeq ($(WINDOWS), 1)
|
||||
LIBS += -lopengl32
|
||||
else
|
||||
LIBS += -lGL
|
||||
endif
|
||||
else ifeq ($(RENDERER), Texture)
|
||||
SOURCES += src/Backends/Rendering/SDLTexture
|
||||
else ifeq ($(RENDERER), Surface)
|
||||
|
|
Loading…
Add table
Reference in a new issue