delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/02/21:58:02

From: kalum AT myflat DOT com
Message-Id: <199910031343.HAA23189@lakdiva.slt.lk>
To: djgpp AT delorie DOT com
Date: Sun, 3 Oct 1999 07:44:32 +0600
MIME-Version: 1.0
Subject: Re: RHIDE generated makefiles don't support dependencies?
CC: kalum AT myflat DOT com
X-mailer: Pegasus Mail for Win32 (v3.12)
Reply-To: djgpp AT delorie DOT com

--Message-Boundary-6824
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

Dear friends,
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 <kalum AT myflat DOT com>

--Message-Boundary-6824
Content-type: text/plain; charset=US-ASCII
Content-disposition: inline
Content-description: Attachment information.

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  test.cpp
     Date:  3 Oct 1999, 7:18
     Size:  88 bytes.
     Type:  Program-source

--Message-Boundary-6824
Content-type: Application/Octet-stream; name="test.cpp"; type=Program-source
Content-disposition: attachment; filename="test.cpp"
Content-transfer-encoding: BASE64

I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSAidGVzdC5oIg0Kdm9pZCBtYWluKCkNCnsN
CnByaW50ZigiXG5WYWx1ZSBpcyAlZCIsVkFMKTsNCn0NCg==
--Message-Boundary-6824
Content-type: text/plain; charset=US-ASCII
Content-disposition: inline
Content-description: Attachment information.

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  test.h
     Date:  3 Oct 1999, 7:42
     Size:  18 bytes.
     Type:  Program-source

--Message-Boundary-6824
Content-type: Application/Octet-stream; name="test.h"; type=Program-source
Content-disposition: attachment; filename="test.h"
Content-transfer-encoding: BASE64

I2RlZmluZSBWQUwgMTAxMg0K

--Message-Boundary-6824--

- Raw text -


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