On Sat, Feb 23, 2013 at 03:45:59PM -0500, Paul Smith wrote:
> 
> I've never really been clear on the purpose and use of .SECONDARY; the
> comments in both the GNU make manual and in the code seem odd to me.  I
> would really appreciate anyone out there who is using this (either for
> specific targets or all by itself as in this example) to explain why
> they use it / what they need it for.

When I use .SECONDARY:, what I really want to say is "don't delete any
files you make".

The two ways I know of doing this are:
* explicitly name all files in the Makefile (which isn't necessarily simple)
* .SECONDARY:


Thanks
Ian


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to