mac makefile extension
svn path=/trunk/externals/iem/comport/; revision=4497
This commit is contained in:
parent
eb87f5f946
commit
fa52310976
1 changed files with 15 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue