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/src/makefile_d_fat | |
parent | 51cc920c41369d50f2bff6b8afea107d791536ac (diff) |
unix line endings for unix makefiles
svn path=/trunk/externals/iemlib/; revision=14882
Diffstat (limited to 'iemlib1/src/makefile_d_fat')
-rw-r--r-- | iemlib1/src/makefile_d_fat | 56 |
1 files changed, 28 insertions, 28 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 |