On 2006-2-21 11:30 UTC, Ryan Berdeen wrote: > > $(TARGETS): target := $@ > > The target variable remains empty.
$cat target_specific.make
x: TARGET0 = $@
x: TARGET1 := $@
.PHONY: x
x:
@echo target is $(TARGET0)
@echo this prints nothing: $(TARGET1)
$make -f target_specific.make
target is x
this prints nothing:
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
