[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hangs on windows after "include"
From: |
Cesar Crusius |
Subject: |
Hangs on windows after "include" |
Date: |
Fri, 19 May 2006 15:33:37 -0700 |
User-agent: |
KMail/1.9.1 |
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
- Hangs on windows after "include",
Cesar Crusius <=