Article View: comp.bugs.sys5
Article #938Re: make bug
From: Stephen J. Friedl
Date: Mon, 02 Jan 1989 05:03
Date: Mon, 02 Jan 1989 05:03
20 lines
1073 bytes
1073 bytes
In article <904@philmds.UUCP>, leo@philmds.UUCP (Leo de Wit) writes:
> What would you expect? "$(BETA:bar=hello)" is certainly not Make syntax.
> Make doesn't know about sh or csh variable substitution, if that was
> your intention.
New versions of make (augmake?) *do* allow this kind of
substitution. You can do:
SRC = $(OBJS:.o=.c)
and it effectively does 's/\.o/.c/g' on each word in ${OBJS}.
It's very handy...
Steve
--
Stephen J. Friedl 3B2-kind-of-guy friedl@vsi.com
V-Systems, Inc. I speak for me only attmail!vsi!friedl
Santa Ana, CA USA +1 714 545 6442 {backbones}!vsi!friedl
-------Nancy Reagan on Usenix in San Diego: "Just say *go*"-------
Technical Details
Message-ID:
<987@vsi.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!vsi!friedlReferences:
<502@Aragorn.dde.uucp> <904@philmds.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!vsi!friedl From: friedl@vsi.COM (Stephen J. Friedl) Newsgroups: comp.bugs.sys5,comp.unix.wizards Subject: Re: make bug Summary: augmake Message-ID: <987@vsi.COM> Date: 2 Jan 89 05:03:03 GMT References: <502@Aragorn.dde.uucp> <904@philmds.UUCP> Organization: V-Systems, Inc. -- Santa Ana, CA Lines: 20