makefile - 如何在 Cygwin 中运行 makefile

标签 makefile cygwin

我正在尝试在 cygwin 中运行 Makefile。
错误消息:

$ make /cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile
make.exe: *** No rule to make target `/cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile'.  Stop.

最佳答案

您不会将 make 生成文件作为这样的参数。
cd到该目录并运行 make .

或者,如果该 makefile 也打算从其他目录使用,那么您可以尝试 make -f /cygdrive/d/IoT/trunk/Macchina/TestBed/Makefile .

关于makefile - 如何在 Cygwin 中运行 makefile,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29650963/

相关文章:

c++ - g++ 编译器 : compilation terminated

Git 扩展 : Win32 error 487: Couldn't reserve space for cygwin's heap, Win32 错误 0

c - 如何让我的 makefile 自动链接库?

windows - Cygwin,编译和运行 C 程序时出现 "couldn' t get proc lock 错误

c - 无法运行已编译的C+Gtk+-3软件

ssh - 来自 cygwin 的 Vagrant 和 ansible 配置

c - Travis CI - 无法在 makefile 中运行 `c` 可执行文件

makefile - 为什么automake无法生成Makefile.in

linux - Windows 中的 Ubuntu 终端?谁能用简单的英语为我解释 'col' 命令?

正则表达式:查找包含两个或更多字母的每个字符串