On Tue, 2011-11-15 at 13:30 -0800, Bryan Ischo wrote:
> .SECONDEXPANSION:
> all: foo.a
> %.a: $$(@:%.a=%.o)
An infinite loop is bad, sure; I'll check that out. But why don't you
just write:
all: foo.a
%.a: %.o
??? There's no need for secondary expansion here.
--
-------------------------------------------------------------------------------
Paul D. Smith <[email protected]> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make