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