1 # $NetBSD: depsrc-usebefore.mk,v 1.6 2020/11/15 20:20:58 rillig Exp $
3 # Tests for the special source .USEBEFORE in dependency declarations,
4 # which allows to prepend common commands to other targets.
13 @echo first 1 # Using ${.TARGET} here would expand to "action"
14 @echo first 2 # Using ${.TARGET} here would expand to "action"
20 # It is possible but uncommon to have a .USEBEFORE target with no commands.
21 # This may happen as the result of expanding a .for loop.
24 # It is possible but uncommon to directly make a .USEBEFORE target.
28 action: second first empty