diff options
author | jdl <x75@users.sourceforge.net> | 2002-09-28 15:18:31 +0000 |
---|---|---|
committer | jdl <x75@users.sourceforge.net> | 2002-09-28 15:18:31 +0000 |
commit | 578804fb268ed4c5c7be1d0cb82de7a3c363159f (patch) | |
tree | 1fb3f9e85012355e80889782349189c90ebdb618 /OSC/makefile | |
parent | e8208e0f5befd41b8f23b28d784fa7bced23fee9 (diff) |
backadjust linux makefile
svn path=/trunk/externals/OSCx/; revision=153
Diffstat (limited to 'OSC/makefile')
-rw-r--r-- | OSC/makefile | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/OSC/makefile b/OSC/makefile index 5c9144e..1f19da4 100644 --- a/OSC/makefile +++ b/OSC/makefile @@ -1,11 +1,15 @@ +current: pd_linux ############################### NAME=OSC +EXT=o # ----------------------- Mac OS X (Darwin) ----------------------- pd_darwin: $(NAME).pd_darwin -.SUFFIXES: .pd_darwin +SFX=.pd_darwin + +.SUFFIXES: $(SFX) DARWINCFLAGS = -DPD -DUNIX -DMACOSX -O2 \ -Wall -W -Wshadow -Wstrict-prototypes \ @@ -15,7 +19,6 @@ DARWINCFLAGS = -DPD -DUNIX -DMACOSX -O2 \ DARWININCLUDE = -I../../../pd/src -I../../obj DARWINEXTERNALS = htmsocket.o OSC-pattern-match.o sendOSC.o dumpOSC.o routeOSC.o -# lorenz.o rossler.o henon.o ikeda.o .c.pd_darwin: cc $(DARWINCFLAGS) $(DARWININCLUDE) -c *.c @@ -28,14 +31,16 @@ DARWINEXTERNALS = htmsocket.o OSC-pattern-match.o sendOSC.o dumpOSC.o routeOSC.o pd_linux: $(NAME).pd_linux -.SUFFIXES: .pd_linux +SFX=pd_linux + +.SUFFIXES: .$(SFX) LINUXCFLAGS = -DPD -DUNIX -O2 -funroll-loops -fomit-frame-pointer \ -Wall -W -Wshadow \ -Wno-unused -Wno-parentheses -Wno-switch # where is your m_pd.h ??? -LINUXINCLUDE = -I/usr/local/include +LINUXINCLUDE = -I../../../src/pd-0.35-0/src LINUXEXTERNALS = htmsocket.o OSC-pattern-match.o sendOSC.o dumpOSC.o routeOSC.o @@ -46,3 +51,11 @@ LINUXEXTERNALS = htmsocket.o OSC-pattern-match.o sendOSC.o dumpOSC.o routeOSC.o # ---------------------------------------------------------- +pd_linux_clean: + -rm -rf *.$(EXT) *.$(SFX) *~ + +pd_darwin_clean: + EXT=o + SFX=pd_darwin + -rm *.$(EXT) *.$(SFX) *~ + |