On 2006-3-18 3:50 UTC, Matt England wrote: > > I automatically generate header-file dependency makefiles (aka ".d" > files) as per: > <http://www.gnu.org/software/make/manual/html_chapter/make_4.html#SEC51> > > However, if I rename the header file, and even change this name > reference in the .cpp file which includes said header file, my make > breaks (see the "make: *** No rule to make target `myheader.h', needed > by `main.d'. Stop." error below).
Sounds like... http://make.paulandlesley.org/autodep.html | if you remove or rename a prerequisite file (say a C .h file), make will | stop with a fatal error, complaining that the target doesn't exist: | | make: *** No rule to make target `bar.h', needed by `foo.P'. Stop. Read the rest of that "white paper" for a solution. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
