“make clean” results in “No rule to make target `clean'”
2012-10-12 17:48
585 查看
make clean时,得到提示:make: *** No rule to make target `clean'. Stop.,应用程序和.o文件没有被清除,网上找了一些资料,找到一个解决办法,即在makefile后面添加
[/code]
$(PROGRAMS)代表包含全路经的各个.o文件、应用程序文件
参考http://stackoverflow.com/questions/4182118/make-clean-results-in-no-rule-to-make-target-clean
clean: @rm -f $(PROGRAMS) *.o core
[/code]
$(PROGRAMS)代表包含全路经的各个.o文件、应用程序文件
参考http://stackoverflow.com/questions/4182118/make-clean-results-in-no-rule-to-make-target-clean
相关文章推荐
- 关于make: *** No rule to make target `clean'. Stop.的解决
- make: *** No rule to make target `clean'(archive). Stop.
- 编译 Ceph 的时候报错:No rule to make target `erasure-code/jerasure/jerasure/src/cauchy.c', 如何解决
- make: *** No rule to make target `all'. Stop.
- make: *** No rule to make target ' ', needed by ' '. Stop.
- android5.0编译问题:No rule to make target 'external/chromium_org/third_party/angle/.git/index',
- cygwin编译cocos项目报错:make: *** No rule to make target 。。xxx.o'. stop 解决
- 出现make: *** No rule to make target `all'. Stop.解决办法
- android5.0编译问题:No rule to make target 'external/chromium_org/third_party/angle/.git/index',
- Eclipse CDT Ubuntu下重新导入工程后make: *** No rule to make target `all'. Stop.
- 解决No “rule to make target `../Database/images/login.png', needed by `debug/qrc_image.cpp'. Stop.”
- make: *** No rule to make target `all'. Stop.的问题 解决办法!
- linux内核编译中的各种问题:No rule to make target `menuconfig'&&Unable to find the Ncurses libraries
- Cocos2d-x:编译Coco2d-x android 程序出现make: *** No rule to make target ...CC*.o'. Stop.
- make[2]: *** No rule to make target `drivers/char/tianc_lcd.o', needed by `drivers/char/built-in.o'.
- 安装ruby2.1.2,openssl时,No rule to make target `/thread_native.h'
- Avoiding ``No rule to make target ...'' Errors
- Nios II编译出错:make: *** No rule to make target `e:/nios ', needed by `/cygdrive/e/nios/Debug/system_de
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- 解决*** No rule to make target `pbk_app.obj',