Xref: utzoo comp.bugs.sys5:730 comp.unix.wizards:13802 Path: 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 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*"-------