Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!uhccux!waikato!ldo From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW Make file weirdness Message-ID: <2431.275c2140@waikato.ac.nz> Date: 4 Dec 90 09:20:48 GMT References: <11406@goofy.Apple.COM> <1990Dec3.172201.17768@Neon.Stanford.EDU> Distribution: na Organization: University of Waikato, Hamilton, New Zealand Lines: 19 In <1990Dec3.172201.17768@Neon.Stanford.EDU>, kaufman@Neon.Stanford.EDU (Marc T. Kaufman) suggests a Make rule for updating the dependency of one .h file on another. He gets it *almost* correct, only missing a ".". Here is the correct form of the rule: file2.h \f file1.h SetFile -m . file2.h ("\f" = option-f -- see the MPW tools I posted a week or two back.) I have encountered the same situation myself, and the above rule (changing the modification date on file2.h to be "now") seems the simplest solution. Lawrence "If it can't be done with MPW, it isn't worth doing" D'Oliveiro Computer Services Dept fone: +64-71-562-889 University of Waikato fax: +64-71-384-066 Hamilton, New Zealand electric mail: ldo@waikato.ac.nz