Mail Archives: djgpp/1999/10/10/14:40:46
On Sat, 9 Oct 1999 kalum AT myflat DOT com wrote:
> When examined the makefile has -:
> DEPS_1=test.cpp\
> d:/d/test.h
> test.o:: $(DEPS_1)
> $(RHIDE_COMPILE.cpp.o)
First, please post the complete makefile here. Double-colon rules are
handled specially by Make, and the other parts of the makefile could
affect them.
Second, please tell what version of Make do you use, and what is the
size and the time stamp of your make.exe.
Last, but not least, try to copy the entire project into another
directory whose name is longer than a single character (as in d:/d/),
and see if that solves the problem.
> Here's the dump of 'make -f test.mak -d'
>
> No need to remake target `d:/d/test.cpp'.
> Finished dependencies of target file `d:/d/test.o'.
> Dependency `d:/d/test.cpp' is older than dependent `d:/d/test.o'.
> No need to remake target `d:/d/test.o'.
> Finished dependencies of target file `test.exe'.
> Dependency `d:/d/test.o' is older than dependent `test.exe'.
Does d:/d/test.h appear *anyway* in the output of Make? If not, this
indicates that the dependency you cited above is not seen or not
considered by Make at all; you need to find out why.
Btw, does anyone know why does RHIDE use double-colon rules? They are
obscure and confusing; the normal single-colon rules are much better.
I'd guess that Robert had good reasons to use them, but what are they?
- Raw text -