aboutsummaryrefslogtreecommitdiff
path: root/pd/extra/lrshift~/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pd/extra/lrshift~/makefile')
-rw-r--r--pd/extra/lrshift~/makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/pd/extra/lrshift~/makefile b/pd/extra/lrshift~/makefile
index d278e82a..2f9ccfa5 100644
--- a/pd/extra/lrshift~/makefile
+++ b/pd/extra/lrshift~/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: