Hello,
I'm using make version 3.79.1 on a Solaris 7 machine and have run across
a peculiar feature when using target-specific variables. Basically,
global variables are being used in the prerequisite section while
target-specific variables are used in the command lines. An example
Makefile and
%% Carlo Wood <[EMAIL PROTECTED]> writes:
I do not believe this is a bug, although it is a bit confusing. I'll
explain what's happening.
First, you should go read the chapter _How Makefiles Are Remade_ in the
GNU make manual. This is crux of why you're seeing this behavior.
cw> FOO="This sh
--
~/tmp>make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-redhat-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
T