tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

make: is "v" a magic variable name?

Am I getting mad? Is "v" some magical variable name in (b)make?

Running this

#!/opt/pkg/bin/bmake -f

v= foo

	echo ${v}

makefile with bmake (20150505) outputs -- well -- ".MAKE.LEVEL.ENV".
Using w as the variable name works as expected.

On a NetBSD-6 system (with /usr/bin/make), this simple example runs as expected,
but in a more complicated situation, v also seems to magically change it's value
and renaming it to vers cures it.

Home | Main Index | Thread Index | Old Index