From: Gautier DOT DeMontmollin AT maths DOT unine DOT ch Date: Tue, 18 May 1999 17:05:26 +0200 (MET-DST) Subject: Re: using gcc to make dependencies To: DJGPP AT DELORIE DOT COM Message-id: <01JBCM9NRRN68WWNVJ@NEDCU4.UNINE.CH> X-VMS-To: djgpp AT delorie DOT com X-VMS-Cc: ANMONTMOLLIN MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT 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 It's always a pleasure to me to read such questions! Imagine that with another gcc front-end, you just have to type "gnatmake abcd" where abcd is the procedure you want to be the main one and it recompiles all refreshed sources, links th whole and produces a nice .exe ! Good luck! -- Gautier -------- http://members.xoom.com/gdemont/