On Wednesday 31 March 2004 02:56 pm, Bill Kendrick wrote:
...
> Should I make "bar.h" depend on "zzz.h"?  Or "foo.o" depend on it?  Or...?

No, bar.h is not a build target so you don't want to list it
as dependent on other stuff.  So do:

� foo.o: foo.c foo.h bar.h zzz.h
    etc.

Or if lots of things depend on bar.h then you may want to do
something like this:

   BAR_DEPS = bar.h zzz.h
   foo.o: foo.c foo.h $(BAR_DEPS)
     etc.

-- Rod
_______________________________________________
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to