[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
$(value) of function parameters
From: |
Noel Yap |
Subject: |
$(value) of function parameters |
Date: |
Tue, 01 Jun 2004 10:05:08 -0400 |
User-agent: |
Mozilla Thunderbird 0.5 (Windows/20040212) |
It seems that $(value) doesn't work for function parameters:
$ cat GNUmakefile
fn = $(value 1)
v = $
$(warning $(value v))
$(warning $(call fn,$))
.PHONY: all
all:
$ gmake
GNUmakefile:4: $
GNUmakefile:5:
gmake: Nothing to be done for `all'.
Is this a bug or a feature? Is there a workaround or alternative?
Thanks,
Noel
- $(value) of function parameters,
Noel Yap <=