Jim wrote:
Noel Yap wrote:
This makefile works:How do you know? Sure the rule is done, it doesn't mean that ticks is reloaded....
.PHONY: all
all: ;
include ticks
ticks: @touch $(@)
Since we have this sort of thing in our makefiles, I'm pretty sure it gets reloaded. The above can easily be modified to show this.
okay so I extended it some... and this fails.
.PHONY:all
all: junk;
@echo $(TICKS)include ticks2
ticks2:
@echo TICKS=a number >> ticks2include make2
make2:
@echo junk: >>make2
@echo echo $(TICKS) >>make2if ticks2 were really reloaded then make2 would not have a blank value for $(TICKS)
Noel
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make
