diff options
Diffstat (limited to 'src/regress/lib/libc/regex/Makefile')
-rw-r--r-- | src/regress/lib/libc/regex/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/regress/lib/libc/regex/Makefile b/src/regress/lib/libc/regex/Makefile new file mode 100644 index 0000000000..a29686bca4 --- /dev/null +++ b/src/regress/lib/libc/regex/Makefile | |||
@@ -0,0 +1,20 @@ | |||
1 | # $OpenBSD: Makefile,v 1.5 2002/09/02 20:01:43 avsm Exp $ | ||
2 | # $NetBSD: Makefile,v 1.2 1995/02/16 19:38:45 cgd Exp $ | ||
3 | |||
4 | PROG= re | ||
5 | SRCS= main.c split.c debug.c | ||
6 | |||
7 | CFLAGS+= -I${.CURDIR}/../../../../lib/libc/regex | ||
8 | |||
9 | TESTS= ${.CURDIR}/tests | ||
10 | |||
11 | REGRESS_TARGETS=do-reg do-reg-long do-reg-backref | ||
12 | |||
13 | do-reg: ${PROG} | ||
14 | ./re < ${TESTS} | ||
15 | do-reg-long: ${PROG} | ||
16 | ./re -el < ${TESTS} | ||
17 | do-reg-backref: ${PROG} | ||
18 | ./re -er < ${TESTS} | ||
19 | |||
20 | .include <bsd.regress.mk> | ||