varname-dot-objdir.mk revision 1.3 1 # $NetBSD: varname-dot-objdir.mk,v 1.3 2024/06/01 11:06:17 rillig Exp $
2 #
3 # Tests for the special .OBJDIR variable.
4
5 # TODO: Implementation
6
7 all:
8 # Add an entry to the cached_realpath table, to test cleaning up
9 # that table in purge_relative_cached_realpaths.
10 # Having a ':=' assignment in the command line is construed but works
11 # well enough to reach the code.
12 @${MAKE} -f ${MAKEFILE} 'VAR:=$${:U.:tA}' purge-cache
13
14 purge-cache:
15 : ${.TARGET} was reached.
16