aboutsummaryrefslogtreecommitdiff
path: root/pd/extra/pique
diff options
context:
space:
mode:
Diffstat (limited to 'pd/extra/pique')
-rw-r--r--pd/extra/pique/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pd/extra/pique/makefile b/pd/extra/pique/makefile
index dd9a3350..41e830b2 100644
--- a/pd/extra/pique/makefile
+++ b/pd/extra/pique/makefile
@@ -75,8 +75,9 @@ LINUXINCLUDE = -I../../src
# ----------------------- Mac OSX -----------------------
pd_darwin: $(NAME).pd_darwin
+pd_imac: $(NAME).pd_imac
-.SUFFIXES: .pd_darwin
+.SUFFIXES: .pd_darwin .pd_imac
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
@@ -86,6 +87,11 @@ DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
$(CC) -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o
+.c.pd_imac:
+ $(CC) $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+ $(CC) -bundle -undefined suppress -flat_namespace -o $*.pd_imac $*.o
+ rm -f $*.o
+
# ----------------------------------------------------------
clean: