生成文件问题。 [Ubunt、GNUstep、ObjC、]

发布于 2024-10-01 02:46:35 字数 733 浏览 0 评论 0原文

我刚刚按照在线教程制作了一个 makefile。 http://www.gnustep.org/resources/documentation/Developer /Base/ProgrammingManual/manual_1.html

include $(GNUSTEP_MAKEFILES)/common.make

TOOL_NAME = LogTest
LogTest_OBJC_FILES = source.m

include $(GNUSTEP_MAKEFILES)/tool.make

一旦我运行 makefile,它显示

This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
make[1]: GNUmakefile: No such file or directory
make[1]: *** No rule to make target `GNUmakefile'.  Stop.
make: *** [internal-all] Error 2

我已经检查了我的 GNUSTEP_MAKEFILES 设置。我不知道发生了什么事。 有什么想法吗?谢谢

I just made a makefile follow with online tutorials.
http://www.gnustep.org/resources/documentation/Developer/Base/ProgrammingManual/manual_1.html

include $(GNUSTEP_MAKEFILES)/common.make

TOOL_NAME = LogTest
LogTest_OBJC_FILES = source.m

include $(GNUSTEP_MAKEFILES)/tool.make

once I run the makefile, it showed

This is gnustep-make 2.4.0. Type 'make print-gnustep-make-help' for help.
make[1]: GNUmakefile: No such file or directory
make[1]: *** No rule to make target `GNUmakefile'.  Stop.
make: *** [internal-all] Error 2

I have checked my GNUSTEP_MAKEFILES setting. I have no idea what this happened.
Any idea? Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

晌融 2024-10-08 02:46:35

首先确认您将 makefile 命名为“GNUmakefile”,而不是“GNUMakefile”。如果这是正确的,请尝试使用 make -n,而不是输入 make; Make 将报告它打算做什么,而不是尝试做某事。输出可能看起来像乱码,但您可以将其添加到您的问题中(如果不是太长),我们会看一下。

First confirm that you named your makefile "GNUmakefile", and not e.g. "GNUMakefile". If that's correct, instead of typing make, try make -n; instead of trying to do something, Make will report what it intends to do. The output might look like gibberish, but you can add it to your question (if it's not too long) and we'll have a look.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文