1# $NetBSD: var-readonly.mk,v 1.1 2023/01/24 00:20:00 sjg Exp $
2
3# the answer
4N = 42
5.READONLY: N
6# this should be ignored
7N = 666
8.if ${N} != 42
9.error N ($N) should be 42
10.endif
11
12.NOREADONLY: N
13# now we can change it
14N = 69
15.if ${N} == 42
16.error N should not be 42
17.endif
18
19all:
20
21