summaryrefslogtreecommitdiff
path: root/regress/libexec
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2010-06-20 14:19:14 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2010-06-20 14:19:14 +0000
commit5df3683fcdd35f125f4206e45cee8e3e98f68927 (patch)
treee75c927dec069205c6a47dba5812d1226576175a /regress/libexec
parent0990f5f77254acde384cd1933bab2bdc218f5832 (diff)
Have yet another regress test actually build the test program, before
trying to use it. OK (a long time ago) david@
Diffstat (limited to 'regress/libexec')
-rw-r--r--regress/libexec/ld.so/link-order/test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/regress/libexec/ld.so/link-order/test/Makefile b/regress/libexec/ld.so/link-order/test/Makefile
index 19a26fc275f..5d84be1e4f1 100644
--- a/regress/libexec/ld.so/link-order/test/Makefile
+++ b/regress/libexec/ld.so/link-order/test/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2003/07/01 07:08:31 niklas Exp $
+# $OpenBSD: Makefile,v 1.4 2010/06/20 14:19:13 phessler Exp $
.include <bsd.own.mk>
@@ -54,7 +54,10 @@ OBJDIR_PROG!= if [ -d $(DIR_PROG)/${__objdir} ]; then \
PROGPATH= ${OBJDIR_PROG}/prog
-make-lib:
+prog:
+ @cd $(DIR_PROG) && $(MAKE)
+
+make-lib: prog
@mkdir lib >/dev/null 2>&1 || true
clean: