kim walden & make

DBrown at HI-MULTICS.ARPA DBrown at HI-MULTICS.ARPA
Fri Jul 13 21:21:00 AEST 1984


  The article actually discuses the problems of making correct makefiles
in the presence of .h files including other .h files, .y files including
.h files and so forth.
  It points out that there are several classical errors made by humans
writing makefiles, such as claiming that foo.c depends on bar.h, when it
is really foo.o which depends on both foo.c and bar.h.
  The extraction of #includes is the "easy" part (albeit very language
and system dependant), and the program referred to is the one which uses
the include lists to build dependancy graphs.
  --dave



More information about the Comp.unix mailing list