Home | History | Annotate | Line # | Download | only in unit-tests
      1  1.3  rillig # $NetBSD: depsrc-precious.mk,v 1.3 2020/11/15 20:20:58 rillig Exp $
      2  1.1  rillig #
      3  1.3  rillig # Tests for the special source .PRECIOUS in dependency declarations, which
      4  1.3  rillig # is only relevant if the commands for the target fail or are interrupted.
      5  1.3  rillig # In such a case, the target file is usually removed, to avoid having
      6  1.3  rillig # half-finished files with a timestamp suggesting the file were up-to-date.
      7  1.3  rillig #
      8  1.3  rillig # For targets marked with .PRECIOUS, the target file is not removed.
      9  1.3  rillig # The author of the makefile is then responsible for avoiding the above
     10  1.3  rillig # situation, in which the target would be wrongly considered up-to-date,
     11  1.3  rillig # just because its timestamp says so.
     12  1.1  rillig 
     13  1.1  rillig # TODO: Implementation
     14  1.1  rillig 
     15  1.1  rillig all:
     16  1.1  rillig 	@:;
     17