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: Garrett Cooper
Subject: Re: Issues with compiling dependent objects
Date: Wed, 28 May 2008 22:19:59 -0700

On Wed, May 28, 2008 at 4:25 PM, Philip Guenther <address@hidden> wrote:
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)
?

libclone.o is a .c file in that directory.

Huh????? all: $(MAKE_TARGETS)

My bad on the omission.
 
...
> 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.


Ok. Found the problem and solved it a few hours back...

-Garrett

reply via email to

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