Re: [cc65] implicit make rules delete temp files, and a da65 request (was: da65 hangs in infinite loop)

From: Greg King <gngking1erols.com>
Date: 2007-06-15 04:10:59
From: MagerValp; on Tuesday, June 12, 2007; at 09:30 AM -0500
>
> >>>>> "M" == MagerValp writes:
>
> >>>>> "OS" == Oliver Schmidt writes:
> OS> According to the GNUmake docs., while .PRECIOUS might have the
> OS> desired effect, .SECONDARY is supposed to do exactly the requested
> OS> thing.
>
> M> Ah, OK, I see the difference now. Thanks.
>
> Only, it seems to work backwards!  With .SECONDARY, it deletes the files;
> and with .PRECIOUS, they are saved.  The manual clearly states "When a
> file is secondary [...], make does not automatically delete the file,"
> but ".SECONDARY: %.s" gives me a nice big "rm ult3.s ultima3.s
> 01-BOOT-1000.s boot-0-3000.s boot-2-b000.s subs.s 08-MUSI-9a00.s
> boot-1-b800.s"

That is because .SECONDARY doesn't recognize the pattern-wildcard "%".
So, ".SECONDARY: %.s" looks for one particular file
with the three-character name "%.s".
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Jun 15 13:11:28 2007

This archive was generated by hypermail 2.1.8 : 2007-06-15 13:11:30 CEST