summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2014-05-28 18:57:56 +0000
committerbrad <brad@openbsd.org>2014-05-28 18:57:56 +0000
commit0bc904ead8589e044ef3668a1f544e26206f1c0f (patch)
treedc10aba7e830b71e9bdb5136f9aa6b3fd93f31f8
parentonocr suppresses the cr, not outputs it; (diff)
downloadwireguard-openbsd-0bc904ead8589e044ef3668a1f544e26206f1c0f.tar.xz
wireguard-openbsd-0bc904ead8589e044ef3668a1f544e26206f1c0f.zip
Remove additional files generated during ld.so build on make clean.
From drahn Bitrig ok miod@ guenther@
-rw-r--r--libexec/ld.so/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/ld.so/Makefile b/libexec/ld.so/Makefile
index d2456c68bdf..01fd3a614e4 100644
--- a/libexec/ld.so/Makefile
+++ b/libexec/ld.so/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.47 2014/02/16 01:16:38 martynas Exp $
+# $OpenBSD: Makefile,v 1.48 2014/05/28 18:57:56 brad Exp $
SUBDIR=ldconfig ldd
MAN= ld.so.1
@@ -35,7 +35,9 @@ INSTALL_STRIP=
ELF_LDFLAGS+=--shared -Bsymbolic --no-undefined
test_prog= test-$(PROG)
+CLEANFILES+= test-$(PROG)
candidate= $(PROG).test
+CLEANFILES+= ${candidate}
$(test_prog):
printf '#include <stdio.h>\nint main(int argc, char **argv){ printf("%%s\\n", argv[1]); }\n' | \