diff options
author | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-09-25 15:43:37 +0000 |
---|---|---|
committer | Thomas O Fredericks <mrtof@users.sourceforge.net> | 2009-09-25 15:43:37 +0000 |
commit | f9d32c165a873bab44967fa4b069a7945ecb6f7f (patch) | |
tree | 175eddd2209c9993eedd077769f499fe51660bf4 /src/Makefile | |
parent | 2ff72e22aed0bc587f6ad82e882d10dfc7e74fa8 (diff) |
Added the openHelp external to tof
svn path=/trunk/externals/tof/; revision=12450
Diffstat (limited to 'src/Makefile')
-rw-r--r--[-rwxr-xr-x] | src/Makefile | 58 |
1 files changed, 15 insertions, 43 deletions
diff --git a/src/Makefile b/src/Makefile index fcdb2a4..8d83e14 100755..100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,37 +1,22 @@ -current:
- echo make pd_linux, pd_win, or pd_darwin
-
-clean: ; rm -f *.pd_linux *.o
-
-# ----------------------- WINDOWS -----------------------
-
-pd_win: breakpoints.dll breakpoints~.dll destroysend.dll folderpanel.dll getdollarzero.dll phasorshot~.dll
-
-.SUFFIXES: .dll
+PARAM: param paramDump paramRoute paramFile
-WINCFLAGS = -Wall -W -Wshadow -Wstrict-prototypes -DPD -DNT -W3 -WX -Wno-unused -mms-bitfields -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer
-
-WINPDPATH = /d/pd/bin
-
-WININCLUDE = -I.. -I../include -I$(WINPDPATH)/src
-
-LDFLAGS = -shared
-
-.c.dll:
- gcc -mms-bitfields $(WINCFLAGS) $(WININCLUDE) -o $*.o -c $*.c
- gcc $(LDFLAGS) -o $*.dll $*.o $(WINPDPATH)/bin/pd.dll
- strip --strip-unneeded $*.dll
- rm -f $*.o
-
+current:
+ echo make pd_linux
+clean:
+ rm -f *.pd_linux *.o
# ----------------------- LINUX i386 -----------------------
-pd_linux: breakpoints.pd_linux breakpoints~.pd_linux destroysend.pd_linux folderpanel.pd_linux getdollarzero.pd_linux phasorshot~.pd_linux
+#paramL: param.pd_linux
+
+#patchArguments: patchArguments.pd_linux
.SUFFIXES: .pd_linux
-PDPATH = /home/tom/pd/cvs/pd
+PDPATH = ../../../pd
+
+TOFPATH = ../src
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes \
@@ -39,23 +24,10 @@ LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \ LINUXINCLUDE = -I$(PDPATH)/src
-.c.pd_linux:
- cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
+#.pd_linux: .c
+
+.c:
+ cc $(LINUXCFLAGS) $(LINUXINCLUDE) -I $(TOFPATH) -o $*.o -c $*.c
ld --export-dynamic -shared -o $*.pd_linux $*.o -lc -lm
strip --strip-unneeded $*.pd_linux
rm $*.o
-
-# ----------------------- Mac OSX -----------------------
-
-pd_darwin: breakpoints~.pd_darwin breakpoints.pd_darwin destroysend.pd_darwin folderpanel.pd_darwin getdollarzero.pd_darwin .pd_darwin
-
-.SUFFIXES: .pd_darwin
-
-DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
- -Wno-unused -Wno-parentheses -Wno-switch
-
-.c.pd_darwin:
- cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
- cc -bundle -undefined suppress -flat_namespace -o $*.pd_darwin $*.o
- rm -f $*.o
-
|