summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/sys/ddb/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/regress/sys/ddb/Makefile b/regress/sys/ddb/Makefile
index e2cdba8e376..b1823ee32f9 100644
--- a/regress/sys/ddb/Makefile
+++ b/regress/sys/ddb/Makefile
@@ -1,8 +1,7 @@
-# $OpenBSD: Makefile,v 1.4 2014/12/17 00:10:22 daniel Exp $
+# $OpenBSD: Makefile,v 1.5 2022/12/04 19:04:38 anton Exp $
-.if (${MACHINE} == "i386")
+.if ${MACHINE} == "i386"
REGRESS_TARGETS+= size
-.endif
SRC= ${.CURDIR}/../../..
@@ -22,4 +21,10 @@ size: clean
clean:
rm -rf build
+.elif make(regress) || make(all)
+${.TARGETS}:
+ @echo Cannot run on ${MACHINE}
+ @echo SKIPPED
+.endif
+
.include <bsd.regress.mk>