1 1.4 rillig # $NetBSD: varmod-root.mk,v 1.4 2020/12/20 22:57:40 rillig Exp $ 2 1.1 rillig # 3 1.2 rillig # Tests for the :R variable modifier, which returns the filename root 4 1.2 rillig # without the extension. 5 1.1 rillig 6 1.1 rillig all: 7 1.4 rillig .for path in a/b/c def a.b.c a.b/c a a.a .gitignore a a.a trailing/ 8 1.3 rillig @echo "root of '"${path:Q}"' is '"${path:R:Q}"'" 9 1.3 rillig .endfor 10