From 9805beec050fbf62e48c81c1a9ac53163ae15656 Mon Sep 17 00:00:00 2001 From: "Tim J. Robbins" Date: Mon, 28 Oct 2002 09:05:43 +0000 Subject: Simplify by using inference rules properly. --- tools/regression/lib/libc/locale/Makefile | 32 ++++++++++--------------------- 1 file changed, 10 insertions(+), 22 deletions(-) (limited to 'tools') 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} -- cgit v1.3