1# $NetBSD: directive-ifdef.mk,v 1.3 2020/11/08 22:38:28 rillig Exp $ 2# 3# Tests for the .ifdef directive. 4 5# TODO: Implementation 6 7DEFINED= defined 8 9# It looks redundant to have a call to defined() in an .ifdef, but it's 10# possible. The .ifdef only affects plain symbols, not function calls. 11.ifdef defined(DEFINED) 12. info Function calls in .ifdef are possible. 13.else 14. error 15.endif 16 17all: 18 @:; 19