conworlds

diff Makefile @ 6:3c36bc28c6c2

more stuff in the vr test
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 21 Aug 2014 01:08:03 +0300
parents e6948e131526
children e3f0ca1d008a
line diff
     1.1 --- a/Makefile	Wed Aug 20 16:34:43 2014 +0300
     1.2 +++ b/Makefile	Thu Aug 21 01:08:03 2014 +0300
     1.3 @@ -4,9 +4,13 @@
     1.4  dep = $(obj:.o=.d)
     1.5  bin = vrchess
     1.6  
     1.7 -CFLAGS = -pedantic -Wall -g
     1.8 +# comment out to disable LibOVR (oculus sdk)
     1.9 +#ovr_cflags = -DUSE_LIBOVR
    1.10 +#ovr_libs = -lovr
    1.11 +
    1.12 +CFLAGS = -pedantic -Wall -g $(ovr_cflags)
    1.13  CXXFLAGS = -std=c++11 $(CFLAGS)
    1.14 -LDFLAGS = $(libgl_$(sys)) -lm -lvmath -limago
    1.15 +LDFLAGS = $(libgl_$(sys)) -lm -lvmath -limago $(ovr_libs)
    1.16  
    1.17  libgl_unix = -lGL -lGLU -lglut -lGLEW
    1.18  libgl_mac = -framework OpenGL -framework GLUT -lGLEW