makefile phony
东大坡居士 2012-10-21 04:41:42 hi, all
i am study the makefile recently, and found a knowledge point which can not understand clearly:
in my makefile, i defined two phony target:
.PHONY: test1 test2
test1:
@echo ###########
......
test2:
@echo ===========
why make can print first phony target informatin? but when to test2, make quit encountered some error and info not print out?
Thanks!