Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!apple!agate!shelby!neon!kaufman From: kaufman@Neon.Stanford.EDU (Marc T. Kaufman) Newsgroups: comp.sys.mac.programmer Subject: Re: MPW Make file weirdness Message-ID: <1990Dec3.172201.17768@Neon.Stanford.EDU> Date: 3 Dec 90 17:22:01 GMT References: <11406@goofy.Apple.COM> Distribution: na Organization: Computer Science Department, Stanford University Lines: 20 In article <11406@goofy.Apple.COM> mdtaylor@Apple.COM (Mark Taylor) writes: >But then it occurs to me that, say, file2.h itself #includes a basic header >file, called, say, basic.h. I would like my makefile to reflect this >dependency. So I create one dependency rule in my makefile that says, simply: >file2.h basic.h >This doesn't work as I expect. Try the following: file2.h basic.h setfile -m file2.h This will change the modification date of file2.h (like the UN*X 'touch' command), so that it is newer than basic.h and will cause the desired compiles. Marc Kaufman (kaufman@Neon.stanford.edu)