aboutsummaryrefslogtreecommitdiff
path: root/tools/regression
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-10-28 09:05:43 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-10-28 09:05:43 +0000
commit9805beec050fbf62e48c81c1a9ac53163ae15656 (patch)
treea279972edde2beaf0f8b93da7834c167b5aea395 /tools/regression
parent60e155d99e44928263e0477729d3b0e83f92fe1c (diff)
downloadsrc-9805beec050fbf62e48c81c1a9ac53163ae15656.tar.gz
src-9805beec050fbf62e48c81c1a9ac53163ae15656.zip
Simplify by using inference rules properly.
Notes
Notes: svn path=/head/; revision=106080
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/lib/libc/locale/Makefile32
1 files changed, 10 insertions, 22 deletions
diff --git a/tools/regression/lib/libc/locale/Makefile b/tools/regression/lib/libc/locale/Makefile
index 2924fd94da38..1d10c58744b7 100644
--- a/tools/regression/lib/libc/locale/Makefile
+++ b/tools/regression/lib/libc/locale/Makefile
@@ -1,28 +1,16 @@
# $FreeBSD$
+TESTS= test-mbrtowc \
+ test-wcrtomb \
+ test-mbsrtowcs \
+ test-wcsrtombs \
+ test-btowc \
+ test-mbrlen
+
.PHONY: tests
-tests: test-btowc test-mbrlen test-mbrtowc test-mbsrtowcs test-wcsrtombs \
- test-wcrtomb
- ${.OBJDIR}/test-mbrtowc
- ${.OBJDIR}/test-wcrtomb
- ${.OBJDIR}/test-mbsrtowcs
- ${.OBJDIR}/test-wcsrtombs
- ${.OBJDIR}/test-btowc
- ${.OBJDIR}/test-mbrlen
+tests: ${TESTS}
+ for p in ${TESTS}; do ${.OBJDIR}/$$p; done
.PHONY: clean
clean:
- -rm -f test-btowc test-mbrlen test-mbrtowc test-mbsrtowcs \
- test-wcrtomb test-wcsrtombs
-
-test-btowc: test-btowc.c
-
-test-mbrlen: test-mbrlen.c
-
-test-mbrtowc: test-mbrtowc.c
-
-test-mbsrtowcs: test-mbsrtowcs.c
-
-test-wcrtomb: test-wcrtomb.c
-
-test-wcsrtombs: test-wcsrtombs.c
+ -rm -f ${TESTS}