|
From: | Ken Smith |
Subject: | Re: target-specific variables |
Date: | Mon, 15 Mar 2004 08:47:34 -0500 |
User-agent: | Mozilla Thunderbird 0.5 (Windows/20040212) |
Sven Köhler wrote:
Hi, here's a short example if a Makefile: t1: TEST:=$(shell echo hallo 1>&2) t1: echo "" t2: echo ""
Perhaps I am missing something here but doesn't the following do what you are looking for? When I use the stdout redirection to stderr like in the original (1>&2), I get strange behavior. When I omit it, it seems to do what you are looking to do.
t1: hallo :=$(shell echo hallo) t1: echo $(hallo) t2: echo $(hallo)
[Prev in Thread] | Current Thread | [Next in Thread] |