Home | History | Annotate | Line # | Download | only in unit-tests
      1 # $NetBSD: depsrc-make.mk,v 1.4 2020/11/15 20:20:58 rillig Exp $
      2 #
      3 # Tests for the special source .MAKE in dependency declarations, which
      4 # executes the commands of the target even if the -n or -t command line
      5 # options are given.
      6 
      7 # TODO: Add a test for the -t command line option.
      8 
      9 .MAKEFLAGS: -n
     10 
     11 all: this-is-made
     12 all: this-is-not-made
     13 
     14 this-is-made: .MAKE
     15 	@echo ${.TARGET} is made.
     16 
     17 this-is-not-made:
     18 	@echo ${.TARGET} is just echoed.
     19