在Windows 7下运行make

时间:2014-12-23 22:44:22

标签: javascript node.js build makefile gnu-make

我想在我的Windows机器下执行命令make all。为此,我安装了Make for Windows

此外,我想编译节点库talib

但是,在运行make all时,我得到:

C:\Users\User\nodeWorkspace\TestProject\node_modules\node-talib-master>make all
make: *** No Rule, to create »all«.  End.

尝试以下内容时,我得到:

C:\Users\User\nodeWorkspace\TestProject\node_modules\node-talib-master>make all
make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4227d3)

任何建议我做错了什么?

感谢您的回答!

更新

MakeFile看起来像这样:

# Alternate way of building node-talib module
# Similar results can be achieved with npm

all:
    @cd ./src/lib && node build.js && cd ../../ && node-gyp configure && node-gyp build
    @echo
    @echo build complete

clean:
    @rm -rf build/* && cd ./src/lib && node clean.js && cd ../../
    @echo
    @echo clean complete

0 个答案:

没有答案