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_d_fat | 56 ++++++++++++++++++------------------- iemlib1/src/makefile_d_ppc | 56 ++++++++++++++++++------------------- iemlib1/src/makefile_darwin | 68 ++++++++++++++++++++++----------------------- 3 files changed, 90 insertions(+), 90 deletions(-) (limited to 'iemlib1/src') diff --git a/iemlib1/src/makefile_d_fat b/iemlib1/src/makefile_d_fat index 73523a0..5933091 100644 --- a/iemlib1/src/makefile_d_fat +++ b/iemlib1/src/makefile_d_fat @@ -1,17 +1,17 @@ -current: all - +current: all + .SUFFIXES: .d_fat -PD_INSTALL_PATH ?= "/Applications/Pd.app/Contents/Resources" - -INCLUDE = -I. -I$(PD_INSTALL_PATH)/src - +PD_INSTALL_PATH ?= "/Applications/Pd.app/Contents/Resources" + +INCLUDE = -I. -I$(PD_INSTALL_PATH)/src + CFLAGS =-DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ - -Wno-unused -Wno-parentheses -Wno-switch - -LFLAGS = -bundle -undefined suppress -flat_namespace - -# the sources + -Wno-unused -Wno-parentheses -Wno-switch + +LFLAGS = -bundle -undefined suppress -flat_namespace + +# the sources SRC = biquad_freq_resp.c \ db2v.c \ @@ -44,24 +44,24 @@ SRC = biquad_freq_resp.c \ TARGET = iemlib1.d_fat -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) -arch i386 -arch ppc $(LFLAGS) -o $(TARGET) *.o - strip -S -x $(TARGET) - mv $(TARGET) .. - -$(OBJ) : %.o : %.c - touch $*.c + strip -S -x $(TARGET) + mv $(TARGET) .. + +$(OBJ) : %.o : %.c + touch $*.c $(CC) -arch i386 -arch ppc $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c diff --git a/iemlib1/src/makefile_d_ppc b/iemlib1/src/makefile_d_ppc index a90c68b..1b5c691 100644 --- a/iemlib1/src/makefile_d_ppc +++ b/iemlib1/src/makefile_d_ppc @@ -1,17 +1,17 @@ -current: all - +current: all + .SUFFIXES: .d_ppc -PD_INSTALL_PATH = "/Applications/Pd.app/Contents/Resources" - -INCLUDE = -I. -I$(PD_INSTALL_PATH)/src - +PD_INSTALL_PATH = "/Applications/Pd.app/Contents/Resources" + +INCLUDE = -I. -I$(PD_INSTALL_PATH)/src + CFLAGS =-DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \ - -Wno-unused -Wno-parentheses -Wno-switch - -LFLAGS = -bundle -undefined suppress -flat_namespace - -# the sources + -Wno-unused -Wno-parentheses -Wno-switch + +LFLAGS = -bundle -undefined suppress -flat_namespace + +# the sources SRC = biquad_freq_resp.c \ db2v.c \ @@ -43,24 +43,24 @@ SRC = biquad_freq_resp.c \ TARGET = iemlib1.d_ppc -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) $(LFLAGS) -o $(TARGET) *.o - strip -S -x $(TARGET) - mv $(TARGET) .. - -$(OBJ) : %.o : %.c - touch $*.c + strip -S -x $(TARGET) + mv $(TARGET) .. + +$(OBJ) : %.o : %.c + touch $*.c $(CC) $(CFLAGS) $(INCLUDE) -c -o $*.o $*.c 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