avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] unknown Make %. behavior


From: Sander Pool
Subject: Re: [avr-gcc-list] unknown Make %. behavior
Date: Mon, 13 Jan 2003 12:17:54 -0800

Thanks everyone for commenting on this issue. I figured it had something to
do with make removing temporary implicit targets. It's odd that Eric can't
reproduce it though.

Artur directed us at the relevant section of the GNU make docs. To change
this default behavior:
You can list the target pattern of an implicit rule (such as `%.o') as a
dependency of the special target .PRECIOUS to preserve intermediate files
made by implicit rules whose target patterns match that file's name; see
section Interrupting or Killing make.

Somehow that .PRECIOUS sounds familiar, I must have read about it in a
previous life :-) That doesn't explain yet why Eric doesn't see this
behavior. Is there a global Make config setting that changes these default
rules?

    Sander



----- Original Message -----
From: "E. Weddington" <address@hidden>
To: "Dean Ferreyra" <address@hidden>; <address@hidden>
Sent: Monday, January 13, 2003 9:42 AM
Subject: RE: [avr-gcc-list] unknown Make %. behavior


> On 13 Jan 2003 at 9:29, Dean Ferreyra wrote:
>
> > If the files already exist before you run make, the .o files will
> > _not_ be deleted.  Maybe this is what you're experiencing?  You can
> > try deleting all the intermediate files yourself first and then
> > running make to see what happens.
> >
> > Dean
>
> Nope.
> 1. I run 'make clean' (which deletes .o files) and then 'make',
> they're still there.
> 2. Manually delete *.o, run 'make', they're still there.
>
> I don't doubt that there may be problems with the makefile or how
> others experience make on their machines. I'm far from being an
> expert on make and makefiles. I wrote the makefile to just be a
> sample as a convenience to others and out of dissatisfaction with the
> AVR Freaks makefile(s) which IMHO hide the workings of make and make
> it confusing to a new user.
>
> Eric
>


avr-gcc-list at http://avr1.org



reply via email to

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