我对cygwin非常陌生,最近我安装了它,因为我需要编译一些fortran文件。我安装了我需要的所有库(及其依赖项),但是当我执行make来运行makefile时,什么都没有发生:$ make
$
没有错误,什么都没有。当我直接执行makefile中包含的文件时:相同的结果。所需的所有文件都包含在我运行make的文件夹中。但是,当我调用where make或which
我克隆了一个存储库和cd到其中,其中有一个Makefile,并希望运行一个make命令,如下所示: make build something 但是jenkins失败了,错误如下: /var/lib/jenkinsdurable-135bda8c/script.sh: 9: /var/lib/jenkins/workspace/first-test-run@tmp/durable-135bda8c/script.sh: make
foo.cpp:1:1: error: ‘aslkfdj’ does not name a type ^0我希望make的退出代码为2,因为g++返回非零,cf。$ man make|grep exits -A2
GNU make exits with a status of zero if all makefiles were successfully为了记录在案,我在Xubuntu 15.10上得