Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!eagle!news From: edwill@earth.lerc.nasa.gov (Glenn L. Williams) Newsgroups: comp.os.msdos.programmer Subject: Re: Microsoft Nmake Problem Message-ID: <1991Jan3.220724.17722@eagle.lerc.nasa.gov> Date: 3 Jan 91 22:07:24 GMT References: <1990Dec28.143140.16096@balr.com> Reply-To: edwill@earth.lerc.nasa.gov Distribution: usa Organization: NASA Lewis Research Center Lines: 29 News-Software: VAX/VMS VNEWS 1.3-4 In article <1990Dec28.143140.16096@balr.com>, andy@balr.com (Andrew Little) writes... >I am having a problem with the $? macro in Microsoft's Nmake version >1.11. Consider the following fragment (directly from the help >examples): > >trig.lib : sin.obj cos.obj arctan.obj > !lib trig.lib -+$?; > >This is supposed to update trig.lib with an object file if one of >the objects (or source) is newer than trig.lib by running lib once >for each changed object. If trig.lib is newest, nothing happens >(correct). But if a single object is newer, then lib is run THREE >times, and adds each object instead of running once and adding only >the new object. This is clearly not what is intended (by me, or by >Microsoft according to the docs). > >Am I missing something here? Or is there a problem with this >version of nmake? Is there a newer version that handles this >correctly? > >All comments welcome. > >Andy Little >andy@balr.com > >"That's what dads do - yell, and barbeque" - The Golden Girls I haven't checked the versions , but Microsoft has a low-cost maintenance update to C6.0.