%% Krzysztof Horecki <[EMAIL PROTECTED]> writes:
kh> I wonder why I can't do it by:
kh> % :: %.w
Oh, I see what you're saying.
This doesn't work because it's not the same as the built in rule. You
can only cancel a rule by using the _same_ target and prerequisite
pattern(s) as were used to define the rule.
In this case, the pattern used to define the rule (use make -pf/dev/null
to see the complete list of built in rules) is:
%.c : %.w %.ch
So you have to use exactly that pattern to get rid of it, not "% :: %.w".
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make