delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/18/06:09:16

Message-ID: <9074E89DACDDD2119C4D00805FEDBE8921848F@ormail1.orckit.com>
From: Ephraim Ben-Ishai <Ephraimbi AT orckit DOT com>
To: djgpp AT delorie DOT com
Subject: using gcc to make dependencies
Date: Tue, 18 May 1999 11:50:25 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Reply-To: djgpp AT delorie DOT com

hello
I use gcc with the -MM switch to make dependencies. My dependency file comes
out as follows:

file1.o: file1.c dep1.h dep2.h dep3.h dep4.h .......

my problem is as follows:

all the dependency files contain the correct path to the however the target
does not
have the path just the name: 

how do I get the gcc to place the path infront of the target.

thanks in advance
ephraim

- Raw text -


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