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

From: MagerValp <MagerValp1cling.gu.se>
Date: 2007-06-12 15:30:37
>>>>> "M" == MagerValp  <MagerValp@cling.gu.se> writes:

>>>>> "OS" == Oliver Schmidt <ol.sc@web.de> 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"

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp@cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Jun 12 15:30:47 2007

This archive was generated by hypermail 2.1.8 : 2007-06-12 15:30:49 CEST