Makefile问题.[Ubunt,GNUstep,ObjC,]

CCC*_*CCC 2 ubuntu makefile objective-c gnustep

我刚刚制作了一个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
Run Code Online (Sandbox Code Playgroud)

一旦我运行了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
Run Code Online (Sandbox Code Playgroud)

我检查了我的GNUSTEP_MAKEFILES设置.我不知道发生了什么.任何的想法?谢谢

Bet*_*eta 5

首先确认您将makefile命名为"GNUmakefile",而不是例如"GNUMakefile".如果这是正确的,而不是打字make,尝试make -n; 而不是试图做某事,Make会报告它打算做什么.输出可能看起来像乱码,但你可以将它添加到你的问题(如果它不是太长),我们将看看.