libgoatvr
diff example/Makefile @ 7:6896f9cf9621
- configure now emits config.status with the current confure invocation
- now vr_init will heed the VR_MODULE env var for the name of the module to use
- more stuff on the openhmd module
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 19 Sep 2014 15:16:51 +0300 |
parents | e63cb28fc644 |
children | d12592558809 |
line diff
1.1 --- a/example/Makefile Fri Sep 19 05:30:20 2014 +0300 1.2 +++ b/example/Makefile Fri Sep 19 15:16:51 2014 +0300 1.3 @@ -3,10 +3,10 @@ 1.4 bin = test 1.5 1.6 vrlib_root = .. 1.7 -vrlib = $(vrlib_root)/libgoatvr.a 1.8 +vrlib = $(vrlib_root)/libgoatvr.so 1.9 1.10 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl2` -I$(vrlib_root)/src 1.11 -LDFLAGS = $(libgl) `pkg-config --libs sdl2` $(vrlib) 1.12 +LDFLAGS = $(libgl) `pkg-config --libs sdl2` -L$(vrlib_root) -lgoatvr -Wl,-rpath=$(vrlib_root) 1.13 1.14 ifeq ($(shell uname -s), Darwin) 1.15 libgl = -framework OpenGL -lGLEW