blob: 130d726b64179de426a7615ff1f2ed5abd8c5f29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# 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 distclean
pd_nt: ann_som.dll ann_mlp.dll ann_td.dll ann.dll
#pd_nt: ann.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
# ann_mlp.lib ann_som.lib ann_td.lib
.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
link /dll /export:$*_setup $*.obj $(PDNTLIB) *.lib
# -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
distclean:
-del *.obj
-del *.lib
-del *.exp
|