Initial support of linux for viewer example.

This commit is contained in:
Syoyo Fujita
2016-04-19 20:34:51 +09:00
parent 28fc3523d4
commit 7399aedfdd
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,12 @@
GLFW_INC=-I/usr/local/include
GLFW_LIBS=-L/usr/local/lib -lglfw3 -lglew
GL_LIBS=-framework OpenGL
# OSX
#GLFW_LIBS=-L/usr/local/lib -lglfw3 -lGLEW
#GL_LIBS=-framework OpenGL
# Linux
GLFW_LIBS=-L/usr/local/lib -lglfw3 -lGLEW
GL_LIBS=-lGL -lGLU -lX11 -lXrandr -lXi -lXxf86vm -lXcursor -lXinerama -ldl -pthread
CXX_FLAGS=-Wno-deprecated-declarations