diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-04 21:56:06 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-07-04 21:56:06 +0000 |
commit | b114b756b03704024a3f5df32a84a3e945855efe (patch) | |
tree | d93dd29eefac8d1b97a718f797f20a11efa0b5fa | |
parent | b7afc4be1c551322db6a18d67078d76193b6edcd (diff) |
Fix building the libedit regress programs.
-rw-r--r-- | regress/lib/libedit/Makefile.inc | 4 | ||||
-rw-r--r-- | regress/lib/libedit/read/Makefile | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/regress/lib/libedit/Makefile.inc b/regress/lib/libedit/Makefile.inc index 82fac466b6d..b6701196b45 100644 --- a/regress/lib/libedit/Makefile.inc +++ b/regress/lib/libedit/Makefile.inc @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile.inc,v 1.1 2017/07/03 18:19:55 bluhm Exp $ +# $OpenBSD: Makefile.inc,v 1.2 2017/07/04 21:56:05 bluhm Exp $ TOPSRC= ${.CURDIR}/../../../../lib/libedit TOPOBJ!!= ${MAKE} -C ${TOPSRC} -V .OBJDIR -CLAGS+= -I${TOPSRC} -I${TOPOBJ} +CFLAGS+= -I${TOPSRC} -I${TOPOBJ} .PHONY: generated diff --git a/regress/lib/libedit/read/Makefile b/regress/lib/libedit/read/Makefile index 86228ec0dca..8d9c1936322 100644 --- a/regress/lib/libedit/read/Makefile +++ b/regress/lib/libedit/read/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2017/07/03 18:19:55 bluhm Exp $ +# $OpenBSD: Makefile,v 1.7 2017/07/04 21:56:05 bluhm Exp $ # # Author: Ingo Schwarze <schwarze@openbsd.org>, 2016. Public Domain. @@ -6,12 +6,10 @@ REGRESS_TARGETS = getcmd read_char CLEANFILES += test_read_char test_getcmd out_getcmd.txt -test_read_char test_getcmd: generated - -read_char: test_read_char +read_char: generated test_read_char sh ${.CURDIR}/test_read_char.sh -getcmd: test_getcmd +getcmd: generated test_getcmd echo -n s | ./test_getcmd > out_getcmd.txt diff -u ${.CURDIR}/exp_getcmd.txt out_getcmd.txt |