Mail Archives: djgpp-workers/2001/12/17/02:41:35
On Sun, 16 Dec 2001, Andrew Cottrell wrote:
> I ran make with the -d option and make couldn't find a rule from what I
> could see in the debug output included below:-
>
> No need to remake target `../../bin/djsplit.exe'.
> Considering target file `../../bin/dtou.exe'.
> Looking for an implicit rule for `../../bin/dtou.exe'.
> Trying pattern rule with stem `dtou'.
> Rejecting impossible rule prerequisite `../../lib/crt0.o'.
> Trying pattern rule with stem `dtou.exe'.
> Trying implicit prerequisite `../../bin/dtou.exe,v'.
> Trying pattern rule with stem `dtou.exe'.
> Trying implicit prerequisite `../../bin/RCS/dtou.exe,v'.
> Trying pattern rule with stem `dtou.exe'.
> Trying implicit prerequisite `../../bin/RCS/dtou.exe'.
> Trying pattern rule with stem `dtou.exe'.
> Trying implicit prerequisite `../../bin/s.dtou.exe'.
> Trying pattern rule with stem `dtou.exe'.
> Trying implicit prerequisite `../../bin/SCCS/s.dtou.exe'.
> No implicit rule found for `../../bin/dtou.exe'.
> Finished prerequisites of target file `../../bin/dtou.exe'.
> No need to remake target `../../bin/dtou.exe'.
> Considering target file `../../bin/gxx.exe'.
>
>
> TEST 2)
>
> If I deleted the dtou.exse file in the bin directory I got the following
> error:
> make.exe: *** No rule to make target `../../bin/dtou.exe', needed by
> `_alle'. Stop.
>
> The command I ran from the utils directory was make -d >>test.txt.
I think that's your problem, right there: you need to run "make" from
the `src' directory, not from `src/utils'. The directories of the
source tree are not necessarily self-contained, so you shouldn't
assume that you can type "make" from every subdirectory and get only
that subdirectory remade.
You should always remake the entire tree. Does that work for you?
- Raw text -