aboutsummaryrefslogtreecommitdiff
path: root/pd/extra/loop~
diff options
context:
space:
mode:
Diffstat (limited to 'pd/extra/loop~')
-rw-r--r--pd/extra/loop~/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pd/extra/loop~/makefile b/pd/extra/loop~/makefile
index 9585cebe..b1eada70 100644
--- a/pd/extra/loop~/makefile
+++ b/pd/extra/loop~/makefile
@@ -76,8 +76,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
@@ -87,6 +88,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: