mac makefile extension

svn path=/trunk/externals/iem/comport/; revision=4497
This commit is contained in:
Winfried Ritsch 2006-01-26 15:48:28 +00:00
parent eb87f5f946
commit fa52310976

View file

@ -80,3 +80,18 @@ LINUXINCLUDE = -I../../src
ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux strip --strip-unneeded $*.pd_linux
rm $*.o rm $*.o
# ----------------------- Mac OSX -----------------------
pd_darwin: comport.pd_darwin
.SUFFIXES: .pd_darwin
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
.c.pd_darwin:
cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o