diff options
Diffstat (limited to 'iemlib1/src/makefile_d_ppc')
-rw-r--r-- | iemlib1/src/makefile_d_ppc | 56 |
1 files changed, 28 insertions, 28 deletions
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 |