From f2bffe0f7f74a5531e2d89932db26ecf49f55739 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 3 Mar 2003 22:51:22 +0000 Subject: [PATCH] exists() is too aggressive when searching for files without a full path. Inspired by: bsd.prog.mk,v 1.105 --- sys/conf/kmod.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 1c0369de227..b25bfcabbf4 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -304,7 +304,7 @@ lint: ${SRCS} .include -.if !exists(${DEPENDFILE}) +.if !exists(${.OBJDIR}/${DEPENDFILE}) ${OBJS}: ${SRCS:M*.h} .endif