Article View: comp.bugs.sys5
Article #936make bug
From: Claus Tondering
Date: Fri, 30 Dec 1988 14:01
Date: Fri, 30 Dec 1988 14:01
29 lines
1013 bytes
1013 bytes
Consider the following makefile: ALPHA = foo BETA = $(ALPHA) bar all: echo $(BETA) Running make with this makefile will result in the execution of the command "echo foo bar", which is OK. Now, consider the following makefile: ALPHA = foo BETA = $(ALPHA) bar all: echo $(BETA:bar=hello) Running make with this makefile will result in the execution of the command "echo $(ALPHA) hello", which is certainly not what I would expect. Why is ALPHA not substituted in the last example? Bug or feature? -- Claus Tondering Dansk Data Elektronik A/S, Herlev, Denmark E-mail: ct@dde.dk or ...!uunet!mcvax!dkuug!dde!ct
Technical Details
Message-ID:
<502@Aragorn.dde.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!uunet!mcvax!enea!dkuug!dde!ctShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!uunet!mcvax!enea!dkuug!dde!ct From: ct@dde.uucp (Claus Tondering) Newsgroups: comp.bugs.sys5,comp.unix.wizards Subject: make bug Message-ID: <502@Aragorn.dde.uucp> Date: 30 Dec 88 14:01:55 GMT Organization: Dansk Data Elektronik A/S, Herlev, Denmark Lines: 29