delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/06/21:48:44

From: kalum AT myflat DOT com
Message-Id: <199910071126.FAA06426@lakdiva.slt.lk>
To: djgpp AT delorie DOT com
Date: Thu, 7 Oct 1999 05:26:20 +0600
MIME-Version: 1.0
Subject: Please Help. RHIDE generated makefiles don't support dependencies?
In-reply-to: <199910031343.HAA23189@lakdiva.slt.lk>
X-mailer: Pegasus Mail for Win32 (v3.12)
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Dear friends,
It seems I'm talking to myself but if anyone can help me it will be 
greatly appreciated. My problem is as follows.

I have a computer with 8MB ram so instead of using RHIDE to 
compile I ask RHIDE to generate a makefile and then I exit to DO$ 
and run make (it is faster due to more memory being available for 
the compiler).

When I create a project called test (any name) using RHIDE  wich 
has a file called test.cpp wich also includes test.h as a 
dependency and I create a makefile using RHIDE's 
project\writemakefile feature I find that if  I exit to DOS and run 
make (make -f test.mak) it compiles fine and gives me test.exe.
However if I now change test.h and run make (make -f test.mak) it 
says "nothing to be done for "all"" and does'nt compile wich is 
obviously wrong, because test.h has been modified and therefore 
test.cpp should have been recompiled. 

However this problem does'nt exist when running under RHIDE 
because RHIDE properly check's the dependencies and recompiles 
test.cpp.
May I know why  is this different under RHIDE generated makefiles.
Please tell if I missing something here.
Thank You.
Kalum S<kalum AT myflat DOT com>

- Raw text -


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