diff options
author | Georg Holzmann <grholzi@users.sourceforge.net> | 2005-11-21 09:29:14 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@iem.at> | 2015-10-14 15:12:00 +0200 |
commit | dfebc6aa91cc76e8e4ee7b28f159c61dc03d9c60 (patch) | |
tree | 5ad669c07457432a4d0c3defc3cdf4fd9415e030 | |
parent | 7a3b2297e6f784e608d2013c910657334ee3019e (diff) |
osx makefile fix
svn path=/trunk/externals/tb/; revision=3996
-rwxr-xr-x | sndfiler/src/Makefile.pd_main | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sndfiler/src/Makefile.pd_main b/sndfiler/src/Makefile.pd_main index 1b4c5ca..195d396 100755 --- a/sndfiler/src/Makefile.pd_main +++ b/sndfiler/src/Makefile.pd_main @@ -96,11 +96,13 @@ pd_darwin: $(NAME).pd_darwin CC_DARWIN = -pthread
LD_DARWIN = -bundle -undefined suppress -flat_namespace \
- -bundle_loader $(PD_PATH)/bin/pd --export-dynamic
+ -bundle_loader $(PD_PATH)/bin/pd --export-dynamic \
+ -L/sw/lib -L/opt/local/lib -lsndfile \
+ $(THREADLIB_PATH)/threadlib.pd_darwin
.c.pd_darwin:
$(CC) $(CC_FLAGS) $(CC_DARWIN) $(INCLUDE) -o $*.o -c $*.c
- $(LD) $(LD_DARWIN) $*.pd_linux $*.o $(LIB)
+ $(LD) $(LD_DARWIN) -o $*.pd_linux $*.o $(LIB)
chmod 755 $*.pd_darwin
@test -d ../bin || mkdir -p ../bin
cp $*.pd_darwin ../bin
|