summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf/Makefile.sgi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sgi/conf/Makefile.sgi')
-rw-r--r--sys/arch/sgi/conf/Makefile.sgi10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi
index 84201897985..6dd553bd02f 100644
--- a/sys/arch/sgi/conf/Makefile.sgi
+++ b/sys/arch/sgi/conf/Makefile.sgi
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sgi,v 1.53 2011/07/06 02:08:05 tedu Exp $
+# $OpenBSD: Makefile.sgi,v 1.54 2011/07/07 22:28:18 guenther Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -170,9 +170,11 @@ install-kernel-${MACHINE_NAME}:
${SYSTEM_OBJ}: ${DB_STRUCTINFO}
.endif
.ifnmake clean
-. for o in ${SYSTEM_OBJ:.o=.d} assym.d ${DB_STRUCTINFO:.h=.d}
-. if exists($o)
-. include "$o"
+. for o in ${SYSTEM_OBJ} assym.h ${DB_STRUCTINFO}
+. if exists(${o:R}.d)
+. include "${o:R}.d"
+. elif exists($o)
+ .PHONY: $o
. endif
. endfor
.endif