help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issues with compiling dependent objects


From: Philip Guenther
Subject: Re: Issues with compiling dependent objects
Date: Wed, 28 May 2008 17:25:16 -0600

On Wed, May 28, 2008 at 12:59 PM, Garrett Cooper <address@hidden> wrote:
...
> I readded .SUFFIXES, but it doesn't appear to be working, yet it's still not
> mapping .c -> .o:

.SUFFIXES is only used for the old-style suffix rules, like ".c.o:".
It has no effect on pattern rules using %.


> Considering target file `all'.
>  File `all' does not exist.
>   Considering target file 
> `/ws/garrcoop/nova-test-sync/contrib/ltp/obj-ppc/ltp-full-20080430/lib/clone/libclone.o'.

How did it go from 'all' to '..../libclone.o' (.o and not .a)?  I
guess you didn't show the 'all' target in your previous messages, but
why bother to have a prerequisite like
all: $(MAKE_DEPS)
?


...
> How do I disable -r action?

Either
1) don't set it to begin with (why are they?), or
2) explicitly include the rules you need.


Philip Guenther




reply via email to

[Prev in Thread] Current Thread [Next in Thread]