www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/10/14:40:46

Date: Sun, 10 Oct 1999 13:12:56 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: kalum AT myflat DOT com
cc: djgpp AT delorie DOT com
Subject: RE: Please Help. RHIDE generated makefiles don't support dependencies?
In-Reply-To: <199910091206.GAA05120@lakdiva.slt.lk>
Message-ID: <Pine.SUN.3.91.991010131224.19886J-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019