diff options
Diffstat (limited to 'regress/lib/libedit/read/Makefile')
-rw-r--r-- | regress/lib/libedit/read/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/regress/lib/libedit/read/Makefile b/regress/lib/libedit/read/Makefile index 4c0dc7e27cc..416b822a3f9 100644 --- a/regress/lib/libedit/read/Makefile +++ b/regress/lib/libedit/read/Makefile @@ -1,8 +1,6 @@ -# $OpenBSD: Makefile,v 1.4 2016/04/11 21:15:11 schwarze Exp $ +# $OpenBSD: Makefile,v 1.5 2016/09/18 21:06:46 bluhm Exp $ # # Author: Ingo Schwarze <schwarze@openbsd.org>, 2016. Public Domain. -# -# Run "cd /usr/src/lib/libedit && make obj && make depend" first. REGRESS_TARGETS = getcmd read_char @@ -10,10 +8,13 @@ CPPFLAGS += -I${.CURDIR}/../../../../lib/libedit CPPFLAGS += -I${.OBJDIR}/../../../../lib/libedit CLEANFILES += test_read_char test_getcmd out_getcmd.txt -read_char: test_read_char +depend: + cd ${.CURDIR}/../../../../lib/libedit && make depend + +read_char: depend test_read_char sh ${.CURDIR}/test_read_char.sh -getcmd: test_getcmd +getcmd: depend test_getcmd echo -n s | ./test_getcmd > out_getcmd.txt diff -u ${.CURDIR}/exp_getcmd.txt out_getcmd.txt |