oculus2
diff Makefile @ 20:6a3a9840c303
fixed on macosx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 21 Jan 2015 11:29:30 +0200 |
parents | 3d224ad45cac |
children | b2afe1196579 |
line diff
1.1 --- a/Makefile Wed Jan 14 07:11:11 2015 +0200 1.2 +++ b/Makefile Wed Jan 21 11:29:30 2015 +0200 1.3 @@ -3,12 +3,13 @@ 1.4 bin = oculus2 1.5 1.6 CFLAGS = -pedantic -Wall -g `pkg-config --cflags sdl2` 1.7 -LDFLAGS = $(libgl) `pkg-config --libs sdl2` -lovr -lX11 1.8 +LDFLAGS = $(libgl) `pkg-config --libs sdl2` -lovr $(libsys) 1.9 1.10 ifeq ($(shell uname -s), Darwin) 1.11 libgl = -framework OpenGL -lGLEW 1.12 else 1.13 libgl = -lGL -lGLU -lGLEW 1.14 + libsys = -lX11 1.15 endif 1.16 1.17 $(bin): $(obj)