2015年4月2日 星期四

[Makefile] Explain .PHONY


Create Makefile
clean:
         touch b.sh

clean1:
         touch a.sh

.PHONY: clean1

Create a file was called clean

Execute make will show
make: 'clean' is up to date.

Execute make clean1 will show
touch a.sh

Reference:

0 意見:

張貼留言