This commit is contained in:
NishiOwO 2025-04-03 20:47:49 +09:00
parent f5d071f44f
commit b785cfd453
No known key found for this signature in database
GPG Key ID: 27EF69B208EB9343

View File

@ -2,10 +2,10 @@ ifeq ($(PLATFORM),)
BACKEND = GLX
ODE_CFLAGS = `pkg-config --cflags ode`
ODE_LIBS = `pkg-config --libs ode`
ODE_LIBS = `pkg-config --libs ode` -lstdc++
ifeq ($(BACKEND),GLX)
GL_CFLAGS = `pkg-config --cflags gl` `pkg-config --cflags glu`
GL_LIBS = `pkg-config --libs gl` `pkg-config --libs glu`
GL_CFLAGS = `pkg-config --cflags x11` `pkg-config --cflags gl` `pkg-config --cflags glu`
GL_LIBS = `pkg-config --libs x11` `pkg-config --libs gl` `pkg-config --libs glu`
endif
ifeq ($(BACKEND),GLFW)
GL_CFLAGS = `pkg-config --cflags glfw3` `pkg-config --cflags glu`