libgoatvr

diff example/Makefile @ 28:5136dfcea7b1

ported to OVR 0.5.0.1
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 06 Apr 2015 05:17:11 +0300
parents d12592558809
children
line diff
     1.1 --- a/example/Makefile	Mon Mar 30 05:51:22 2015 +0300
     1.2 +++ b/example/Makefile	Mon Apr 06 05:17:11 2015 +0300
     1.3 @@ -2,13 +2,13 @@
     1.4  obj = $(src:.c=.o)
     1.5  bin = test
     1.6  
     1.7 -vrlib_root = ..
     1.8 +vrlib_root = $(shell pwd)/..
     1.9  vrlib = $(vrlib_root)/libgoatvr.so
    1.10  
    1.11  warn = -Wall
    1.12  
    1.13  CFLAGS = -pedantic $(warn) -g `pkg-config --cflags sdl2` -I$(vrlib_root)/src
    1.14 -LDFLAGS = $(libgl) `pkg-config --libs sdl2` -L$(vrlib_root) -lgoatvr -Wl,-rpath -Wl,$(vrlib_root)/
    1.15 +LDFLAGS = $(libgl) -L$(vrlib_root) -Wl,-rpath=$(vrlib_root) -lgoatvr `pkg-config --libs sdl2` 
    1.16  
    1.17  ifeq ($(shell uname -s), Darwin)
    1.18  	libgl = -framework OpenGL -lGLEW