0
目录树Makefile文件和子makefile文件,假的任务毫无办法
.
| Makefile
| src
| Makefile
| spec
| test
在./Makefile
default: all
.DEFAULT:
$(MAKE) -C [email protected]
在SRC
/Makefile文件
.PHONY: all spec test ...
spec:
bundle exec cucumber ../spec
当我在src目录中的“make spec”运行良好。
..././src/# make spec
blablabla
但是,当我在根目录下,我得到的是有“什么工作要做”,但它是一个假目标
..././# make spec
make: Nothing to be done for `spec'.
我想这是任务的名称问题这与目录的名称相同,并带有一个子makefile。
谢谢!效果很好。 – pastjean 2012-02-19 23:00:04