[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Target specific and automatic variables
From: |
Pierre Habraken |
Subject: |
Target specific and automatic variables |
Date: |
Fri, 18 Apr 2003 08:58:02 +0200 |
Hello,
Let's consider the following Makefile:
#############################
foo: FOOVAR = bla bla
foo: $(FOOVAR)
echo $^
#############################
I'd expect that running this makefile should produce:
=============================
$ make
echo bla bla
bla bla
$
=============================
Instead it produces:
=============================
$make
echo
$
=============================
Could someone tell me what I missed ?
Thanks in advance,
Pierre
--
________________________________________________________________________
Pierre HABRAKEN - mailto:address@hidden
Tél: 04 76 82 72 83 - Fax: 04 76 82 72 87
IMAG-LSR BP72 38402 SAINT MARTIN D'HERES Cedex
________________________________________________________________________
- Target specific and automatic variables,
Pierre Habraken <=