I have the following Makefile:

--------------
.PHONY: printstring

all: tg1 tg2

printstring:
[EMAIL PROTECTED] "TEST"

tg1: printstring
[EMAIL PROTECTED] 1

tg2: printstring
[EMAIL PROTECTED] 2
-------------

executing it gives

TEST
1
2

instead of 

TEST
1
TEST
2

GNU make 3.80
Seems that "printstring", despite being phony, after the first use is 
considered up-to-date.
Is this the expected behaviour?

Thanks


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to