1 # $NetBSD: cond-op-and.mk,v 1.3 2020/08/28 14:48:37 rillig Exp $ 2 # 3 # Tests for the && operator in .if conditions. 4 5 .if 0 && 0 6 .error 7 .endif 8 9 .if 1 && 0 10 .error 11 .endif 12 13 .if 0 && 1 14 .error 15 .endif 16 17 .if !(1 && 1) 18 .error 19 .endif 20 21 # The right-hand side is not evaluated since the left-hand side is already 22 # false. 23 .if 0 && ${UNDEF} 24 .endif 25 26 all: 27 @:; 28