From 3e94769346586c59b03176399e215a767b070175 Mon Sep 17 00:00:00 2001 From: bluhm Date: Tue, 4 Jul 2017 21:56:05 +0000 Subject: [PATCH] Fix building the libedit regress programs. --- regress/lib/libedit/Makefile.inc | 4 ++-- 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 , 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 -- 2.20.1