[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnu atomake variable question
From: |
Greg Chicares |
Subject: |
Re: gnu atomake variable question |
Date: |
Mon, 28 Jan 2008 16:45:56 +0000 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
On 2008-01-28 16:10Z, Russell King wrote:
> What do these variable refer to?
> $(make)
> $(src)
>
> Are these variable defined by the user or are they set by automake as
> default variables?
I don't know about 'automake' (which I guess would have its own
mailing list), but 'make' sets $(MAKE) (note uppercase): see
5.7.1 How the MAKE Variable Works
in the 'make' manual. Here's a makefile to show variables
defined by 'make':
/tmp[0]$cat >make_variables.make <<'EOF'
.PHONY: all
all:
@$(foreach z,$(.VARIABLES), echo $(z);)
EOF