goat3d

diff goatview/Makefile @ 23:b59a3650ed51

mac fixes
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Sep 2013 07:20:22 +0300
parents b35427826b60
children f8bfc3177582
line diff
     1.1 --- a/goatview/Makefile	Fri Sep 27 07:14:49 2013 +0300
     1.2 +++ b/goatview/Makefile	Fri Sep 27 07:20:22 2013 +0300
     1.3 @@ -4,17 +4,18 @@
     1.4  bin = goatview
     1.5  
     1.6  goat_root = ..
     1.7 -libgoat = $(goat_root)/libgoat3d.so.0.1
     1.8  
     1.9  CC = clang
    1.10  CPP = clang -E
    1.11  CFLAGS = -pedantic -Wall -g -I$(goat_root)/src
    1.12 -LDFLAGS = $(libgoat) -Wl,-rpath=$(goat_root) $(libgl)
    1.13 +LDFLAGS = $(libgoat) $(libgl)
    1.14  
    1.15  ifeq ($(shell uname -s), Darwin)
    1.16  	libgl = -framework OpenGL -framework GLUT -lGLEW
    1.17 +	libgoat = $(goat_root)/libgoat3d.dylib
    1.18  else
    1.19  	libgl = -lGL -lGLU -lglut -lGLEW
    1.20 +	libgoat = $(goat_root)/libgoat3d.so.0.1 -Wl,-rpath=$(goat_root) 
    1.21  endif
    1.22  
    1.23  $(bin): $(obj) $(libgoat)