makefile.msvc
来自「python 神经网络 数据挖掘 python实现的神经网络算法」· MSVC 代码 · 共 24 行
MSVC
24 行
# This makefile was written to compile a distribution of pyfann for
# Microsoft Visual C++.
TARGETS = _libfann.pyd
PYTHON=python2.3
PYDIR=C:/Python23
OBJS=libfann_wrap.obj fann_helper.obj
all: $(TARGETS)
_libfann.pyd: $(OBJS)
link /LIBPATH:$(PYDIR)/libs /DLL /OUT:$@ $(OBJS) ../../src/fann*.obj python23.lib
.c.obj:
cl -c $< -I $(PYDIR)/include -I ../../src/include
libfann_wrap.c: libfann.i
swig -python libfann.i
clean:
del -f $(TARGETS) *_wrap.* fann_helper.obj fann.pyc libfann.py _libfann.*
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?