Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rice!uw-beaver!uw-june!ka From: ka@cs.washington.edu (Kenneth Almquist) Newsgroups: comp.unix.wizards Subject: Re: make and curly braces Message-ID: <11169@june.cs.washington.edu> Date: 22 Mar 90 03:03:22 GMT References: <5980064@hpfcdc.HP.COM> Organization: U of Washington, Computer Science, Seattle Lines: 18 lois@hpfcdc.HP.COM (Lois Gerber) asks: ] Does anyone know the historical reasons behind the following ] reference on the make(1) man page: ] ] The -n option specifies printing of a command line without ] execution; however, if the command line has the string ] $(MAKE) in it . . . . . . . the line is always executed. ] . . . . . Note that this feature does not work of MAKE ] is enclosed in braces, as in ${MAKE}. ] ] What was the past significance of curly braces in makefiles? Curly braces are synonymous with parenthesis in many versions of make. I assume that the idea was to let the syntax of make variables be more like the syntax of shell variables (after all, why have two different syntaxes to do basicly the same thing?), but this feature was never documented. Kenneth Almquist