Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!uokmax!occrsh!fang!att!mcdchg!tellab5!balr!andy From: andy@balr.com (Andrew Little) Newsgroups: comp.os.msdos.programmer Subject: Microsoft Nmake Problem Message-ID: <1990Dec28.143140.16096@balr.com> Date: 28 Dec 90 14:31:40 GMT Distribution: usa Organization: BALR Corporation Lines: 25 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