diff options
author | tjr <tjr@FreeBSD.org> | 2002-10-28 09:05:43 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-10-28 09:05:43 +0000 |
commit | 2e561443676abf3f67d1ea9f782e100a6e20bf70 (patch) | |
tree | a279972edde2beaf0f8b93da7834c167b5aea395 /tools/regression | |
parent | 3809a204e5560f56723495534d581e9ca8ef53bf (diff) | |
download | FreeBSD-src-2e561443676abf3f67d1ea9f782e100a6e20bf70.zip FreeBSD-src-2e561443676abf3f67d1ea9f782e100a6e20bf70.tar.gz |
Simplify by using inference rules properly.
Diffstat (limited to 'tools/regression')
-rw-r--r-- | tools/regression/lib/libc/locale/Makefile | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/tools/regression/lib/libc/locale/Makefile b/tools/regression/lib/libc/locale/Makefile index 2924fd9..1d10c58 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} |