1# $NetBSD: opt-version.mk,v 1.1 2021/12/23 11:05:59 rillig Exp $
2#
3# Tests for the command line option '--version', which outputs the version
4# number of make.  NetBSD's make does not have a version number, but the bmake
5# distribution created from it has.
6
7# As of 2021-12-23, the output is a single empty line since the '--' does not
8# end the command line options.  Command line parsing then continues as if
9# nothing had happened, and the '-version' is split into '-v ersion', which is
10# interpreted as "print the expanded variable named 'ersion'".
11
12.MAKEFLAGS: --version
13