diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-02-09 11:26:46 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-02-09 11:26:46 +0000 |
commit | 589a485bfec090740d2a91f4333c044edd7add4f (patch) | |
tree | 2c612acbf519de4b2faabb7e11c422112030391e /iemlib1 | |
parent | 51cc920c41369d50f2bff6b8afea107d791536ac (diff) |
unix line endings for unix makefiles
svn path=/trunk/externals/iemlib/; revision=14882
Diffstat (limited to 'iemlib1')
-rw-r--r-- | iemlib1/src/makefile_d_fat | 56 | ||||
-rw-r--r-- | iemlib1/src/makefile_d_ppc | 56 | ||||
-rw-r--r-- | iemlib1/src/makefile_darwin | 68 |
3 files changed, 90 insertions, 90 deletions
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 |