target-specific variables in the prereq section

2000-08-22 Thread Tom Drabenstott
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

Re: Option `-n' broken

2000-08-22 Thread Paul D. Smith
%% 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

Option `-n' broken

2000-08-22 Thread Carlo Wood
-- ~/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