oculus2_psprite

diff Makefile @ 21:dc7af0f549b2

VR point sprite shooting test
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 22 Jan 2015 06:19:52 +0200
parents 6a3a9840c303
children
line diff
     1.1 --- a/Makefile	Wed Jan 21 11:29:30 2015 +0200
     1.2 +++ b/Makefile	Thu Jan 22 06:19:52 2015 +0200
     1.3 @@ -2,11 +2,14 @@
     1.4  obj = $(src:.c=.o)
     1.5  bin = oculus2
     1.6  
     1.7 -CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl2`
     1.8 -LDFLAGS = $(libgl) `pkg-config --libs sdl2` -lovr $(libsys)
     1.9 +warn = -pedantic -Wall
    1.10 +
    1.11 +CFLAGS = $(warn) -g `pkg-config --cflags sdl2`
    1.12 +LDFLAGS = $(libgl) `pkg-config --libs sdl2` -lovr $(libsys) -lvmath
    1.13  
    1.14  ifeq ($(shell uname -s), Darwin)
    1.15  	libgl = -framework OpenGL -lGLEW
    1.16 +	warn += -Wno-deprecated-declarations
    1.17  else
    1.18  	libgl = -lGL -lGLU -lGLEW
    1.19  	libsys = -lX11