|Subject:||Re: 'How makefiles are remade'|
|Date:||Tue, 20 Apr 2004 19:03:03 -0700|
|User-agent:||Mozilla Thunderbird 0.5 (Windows/20040207)|
Noel Yap wrote:
Jim wrote:Noel Yap wrote: okay so I extended it some... and this fails. .PHONY:all all: junk; @echo $(TICKS) include ticks2 ticks2: @echo TICKS=a number >> ticks2 include make2 make2: @echo junk: >>make2 @echo echo $(TICKS) >>make2if ticks2 were really reloaded then make2 would not have a blank value for $(TICKS)OK, I think I'm starting to understand what you want to do. Have you tried doing the "include make2" inside tick2?
Absolutely. That's what the original example did, creates 'x' which has within it an include y, which also produces y...
|[Prev in Thread]||Current Thread||[Next in Thread]|