help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @echo name1 = $(name1) does not work


From: Greg Chicares
Subject: Re: @echo name1 = $(name1) does not work
Date: Sun, 29 Jan 2006 11:26:58 +0000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

On 2006-1-28 20:50 UTC, Morten Gulbrandsen wrote:

['inc.mk' contains a target]

> cat Makefile

+ .PHONY: all
+ all: effective_default_target

  name1 := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))

  include inc.mk

  name2 := $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))

- all:
+ effective_default_target:
         @echo name1 = $(name1)
         @echo name2 = $(name2)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]