summaryrefslogtreecommitdiff
path: root/regress/usr.bin/ssh/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/ssh/Makefile')
-rw-r--r--regress/usr.bin/ssh/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/Makefile b/regress/usr.bin/ssh/Makefile
index d7e30582f0e..9b442ee2b39 100644
--- a/regress/usr.bin/ssh/Makefile
+++ b/regress/usr.bin/ssh/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.82 2015/09/24 06:16:53 djm Exp $
+# $OpenBSD: Makefile,v 1.83 2016/02/18 02:37:25 djm Exp $
.ifndef SKIP_UNIT
SUBDIR= unittests
@@ -191,7 +191,13 @@ INTEROP_TARGETS+=t-${t}
# Not run by default
interop: ${INTEROP_TARGETS}
-clean:
+.for s in ${SUBDIR}
+CLEAN_SUBDIR+=c-${s}
+c-${s}:
+ ${MAKE} -C ${.CURDIR}/${s} clean
+.endfor
+
+clean: ${CLEAN_SUBDIR}
rm -f ${CLEANFILES}
test -z "${SUDO}" || ${SUDO} rm -f ${SUDO_CLEAN}
rm -rf .putty