goat3d

diff generators/goatprim/Makefile @ 23:b59a3650ed51

mac fixes
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 27 Sep 2013 07:20:22 +0300
parents 0e31f2c3f29d
children 1dcbe87b6a5d
line diff
     1.1 --- a/generators/goatprim/Makefile	Fri Sep 27 07:14:49 2013 +0300
     1.2 +++ b/generators/goatprim/Makefile	Fri Sep 27 07:20:22 2013 +0300
     1.3 @@ -6,13 +6,13 @@
     1.4  ifeq ($(shell uname -s), Darwin)
     1.5  	libgoat = $(goat_root)/libgoat3d.dylib
     1.6  else
     1.7 -	libgoat = $(goat_root)/libgoat3d.so.0.1
     1.8 +	libgoat = $(goat_root)/libgoat3d.so.0.1 -Wl,-rpath=$(goat_root)
     1.9  endif
    1.10  
    1.11  CC = clang
    1.12  CXX = clang++
    1.13  CFLAGS = -pedantic -Wall -g -I$(goat_root)/src
    1.14 -LDFLAGS = $(libgoat) -Wl,-rpath $(goat_root)
    1.15 +LDFLAGS = $(libgoat)
    1.16  
    1.17  $(bin): $(obj) $(libgoat)
    1.18  	$(CXX) -o $@ $(obj) $(LDFLAGS)