aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.msvc
diff options
context:
space:
mode:
authorDavide Morelli <morellid@users.sourceforge.net>2005-05-18 15:53:29 +0000
committerDavide Morelli <morellid@users.sourceforge.net>2005-05-18 15:53:29 +0000
commit4c962acc9f2b6e275f02ab7660a8471453c2f393 (patch)
tree0d0711a81b33e58d1b3662f3bc780e72f61cb919 /src/makefile.msvc
parentf6fa62678a9904a71b22b7324c8ffddd343ac7ac (diff)
added ann_mlp and ann_td
svn path=/trunk/externals/ann/; revision=3011
Diffstat (limited to 'src/makefile.msvc')
-rwxr-xr-xsrc/makefile.msvc48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/makefile.msvc b/src/makefile.msvc
new file mode 100755
index 0000000..5a32386
--- /dev/null
+++ b/src/makefile.msvc
@@ -0,0 +1,48 @@
+# to compile ann fann libs are needed
+# go to http://fann.sourceforge.net/
+# current is http://prdownloads.sourceforge.net/fann/fann-1.2.0.zip?download
+# go to MSVC++ folder and open all.dsw
+# compile everything
+
+# customize here !
+VC="C:\Programmi\Microsoft Visual Studio .NET\Vc7"
+PDPATH="H:\PureData\pd-0.38-3.msw\pd"
+FANNSRC="H:\PureData\FANN\fann-1.2.0\fann-1.2.0\src\include"
+FANNLIB="H:\PureData\FANN\fann-1.2.0\fann-1.2.0\MSVC++\Release"
+
+
+current: clean pd_nt
+
+pd_nt: ann.dll ann_som.dll ann_mlp.dll ann_td.dll
+
+.SUFFIXES: .dll
+
+PDNTCFLAGS = /W3 /WX /O2 /G6 /DNT /DPD /nologo
+
+
+PDNTINCLUDE = /I. /I$(PDPATH)\tcl\include /I$(PDPATH)\src /I$(PDPATH)\flext /I$(VC)\include /I$(FANNSRC) /Iinclude
+
+PDNTLDIR = $(VC)\Lib
+PDNTLIB = $(PDNTLDIR)\libc.lib \
+ $(PDNTLDIR)\oldnames.lib \
+ $(PDNTLDIR)\kernel32.lib \
+ $(PDPATH)\bin\pd.lib \
+ $(FANNLIB)\libfann.lib
+
+.c.dll:
+ cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
+ link /dll /export:$*_setup $*.obj $(PDNTLIB)
+ -del *.obj
+ -del *.lib
+ -del *.exp
+
+#install:
+# copy help-*.pd $(PDPATH)/doc/5.reference/
+
+clean:
+ -del link.stamp
+ -del *.obj
+ -del *.lib
+ -del *.exp
+ -del *.dll
+