生成文件问题。 [Ubunt、GNUstep、ObjC、]
我刚刚按照在线教程制作了一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先确认您将 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
, trymake -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.