aboutsummaryrefslogtreecommitdiff
path: root/iemlib2/src/makefile_darwin
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-02-09 11:17:18 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-02-09 11:17:18 +0000
commit005dbcec2baa097aa66e02ee9df15e3e521381d2 (patch)
treea78b1f367b2150878b80956c32d3899b42fbc239 /iemlib2/src/makefile_darwin
parent8bdfe775e8c211fa7f0a56548878c68c7fce9891 (diff)
added "-DHAVE_G_CANVAS_H"; unix-linebreaks for unix-makefiles
svn path=/trunk/externals/iemlib/; revision=14880
Diffstat (limited to 'iemlib2/src/makefile_darwin')
-rw-r--r--iemlib2/src/makefile_darwin70
1 files changed, 35 insertions, 35 deletions
diff --git a/iemlib2/src/makefile_darwin b/iemlib2/src/makefile_darwin
index 6b455cf..eef0bcc 100644
--- a/iemlib2/src/makefile_darwin
+++ b/iemlib2/src/makefile_darwin
@@ -1,22 +1,22 @@
-current: all
-
+current: all
+
.SUFFIXES: .pd_darwin
-PD_INSTALL_PATH = "/Applications/Pd.app/Contents/Resources"
-
-INCLUDE = -I. -I$(PD_INSTALL_PATH)/src
-
-LIB = -ldl -lm -lpthread
-
-CFLAGS = -DPD -DUNIX -g -Wall -W -Werror -Wno-unused \
- -Wno-parentheses -Wno-switch -O2 -fno-strict-aliasing \
- $(INCLUDE) $(UCFLAGS) $(AFLAGS) \
-
-MACOSXLINKFLAGS = -bundle -bundle_loader $(PD_INSTALL_PATH)/bin/pd
-
-SYSTEM = $(shell uname -m)
-
-# the sources
+PD_INSTALL_PATH = "/Applications/Pd.app/Contents/Resources"
+
+INCLUDE = -I. -I$(PD_INSTALL_PATH)/src
+
+LIB = -ldl -lm -lpthread
+
+CFLAGS = -DPD -DUNIX -DHAVE_G_CANVAS_H -g -Wall -W -Werror -Wno-unused \
+ -Wno-parentheses -Wno-switch -O2 -fno-strict-aliasing \
+ $(INCLUDE) $(UCFLAGS) $(AFLAGS) \
+
+MACOSXLINKFLAGS = -bundle -bundle_loader $(PD_INSTALL_PATH)/bin/pd
+
+SYSTEM = $(shell uname -m)
+
+# the sources
SRC = add2_comma.c \
aspeedlim.c \
@@ -63,25 +63,25 @@ SRC = add2_comma.c \
TARGET = iemlib2.pd_darwin
-OBJ = $(SRC:.c=.o)
-
-#
-# ------------------ targets ------------------------------------
-#
-
-clean:
- rm ../$(TARGET)
- rm *.o
-
-all: $(OBJ)
- @echo :: $(OBJ)
+OBJ = $(SRC:.c=.o)
+
+#
+# ------------------ targets ------------------------------------
+#
+
+clean:
+ rm ../$(TARGET)
+ rm *.o
+
+all: $(OBJ)
+ @echo :: $(OBJ)
$(CC) $(MACOSXLINKFLAGS) -o $(TARGET) *.o $(LIB)
- strip -S -x $(TARGET)
- mv $(TARGET) ..
-
-$(OBJ) : %.o : %.c
- touch $*.c
- $(CC) $(CFLAGS) -DPD $(INCLUDE) -c -o $*.o $*.c
+ strip -S -x $(TARGET)
+ mv $(TARGET) ..
+
+$(OBJ) : %.o : %.c
+ touch $*.c
+ $(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c