From 6b4bddf1397771c1c7c21c90186e67e28c9cc5b3 Mon Sep 17 00:00:00 2001 From: Winfried Ritsch Date: Fri, 27 Jan 2006 09:43:09 +0000 Subject: release 1.0 svn path=/trunk/externals/iem/comport/; revision=4501 --- bird/makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to 'bird/makefile') diff --git a/bird/makefile b/bird/makefile index 2e10a68..e051b47 100644 --- a/bird/makefile +++ b/bird/makefile @@ -6,7 +6,7 @@ # current: - echo choose one command: make pd_linux, make pd_nt, make pd_irix5, make pd_irix6 + echo choose one command: make pd_linux, make pd_nt, make pd_irix5, make pd_irix6, make pd_darwin # ----------------------- NT ----------------------- pd_nt: bird.dll @@ -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: bird.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