From 589a485bfec090740d2a91f4333c044edd7add4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 9 Feb 2011 11:26:46 +0000 Subject: unix line endings for unix makefiles svn path=/trunk/externals/iemlib/; revision=14882 --- iemlib1/src/makefile_darwin | 68 ++++++++++++++++++++++----------------------- 1 file changed, 34 insertions(+), 34 deletions(-) (limited to 'iemlib1/src/makefile_darwin') diff --git a/iemlib1/src/makefile_darwin b/iemlib1/src/makefile_darwin index 11e7d68..1d0869e 100644 --- a/iemlib1/src/makefile_darwin +++ b/iemlib1/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 -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 = biquad_freq_resp.c \ db2v.c \ @@ -48,24 +48,24 @@ SRC = biquad_freq_resp.c \ TARGET = iemlib1.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 + strip -S -x $(TARGET) + mv $(TARGET) .. + +$(OBJ) : %.o : %.c + touch $*.c $(CC) $(CFLAGS) -DPD $(INCLUDE) -c -o $*.o $*.c -- cgit v1.2.1