hiheasy 发表于 2012-06-29 16:46

makefile 依赖文件空的时候的问题, 抓狂中..........

test:
\t@echo -n "test" >> test

文档有云 依赖文件为空时,命令一定会执行 , 为什么我这个makefile只会执行一次, 下次make就出现
make “test” is up to date

sanbiangongzi 发表于 2012-06-30 11:51

.PHONY test

lloydm 发表于 2012-08-27 00:29

页: [1]
查看完整版本: makefile 依赖文件空的时候的问题, 抓狂中..........