From fa52310976e8c860240183fe725d69d914e0251a Mon Sep 17 00:00:00 2001 From: Winfried Ritsch Date: Thu, 26 Jan 2006 15:48:28 +0000 Subject: mac makefile extension svn path=/trunk/externals/iem/comport/; revision=4497 --- comport/makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/comport/makefile b/comport/makefile index 48e9db2..c28e664 100644 --- a/comport/makefile +++ b/comport/makefile @@ -80,3 +80,18 @@ LINUXINCLUDE = -I../../src ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm strip --strip-unneeded $*.pd_linux 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 + -- cgit v1.2.1