Here's the problem: In some point at our Makefile infastructure we have
-include $(deps)
and the usual dependency make rule
$(objdir)/%.d: $(root)/$(srcdir)/%.cpp
@$(make-dir)
@rm -f $@
$(make-dep)
Here's the problem: on Windows (and on Windows only), in some cases make hangs
after the last dependency is generated. The exact point of hanging I don't
know, but the CPU is idle after that and make sits there doing nothing
(running 3.80 here). Interrupting the build and starting again (with
dependencies already generated) results in no more hangs, so I assume it has
to do with the interplay of dependency making and the include statement. Any
clues?
For reference, $(make-dep) expands to
make-dep = $(SHELL) -ec \
'makedepend $(includes) -o$(objext) -f- $< 2>/dev/null | \
sed '\''s%^.*:%$(@:%.d=%$(objext)) $@: %g'\'' > $@'
for Windows builds, which runs unxutils (http://unxutils.sourceforge.net/).
Any help would be appreciated.
- Cesar
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make