aboutsummaryrefslogtreecommitdiff
path: root/io/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-16 04:43:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-16 04:43:49 +0000
commite0ea35a3f764a11cf9fc8389f128e5acad09cb17 (patch)
tree23f0457334b63b15b68237ec0c3757f70e7704f1 /io/Makefile
parent9ff9add9a5812f6677d22c7d6bb17471cfc9025b (diff)
downloadglibc-e0ea35a3f764a11cf9fc8389f128e5acad09cb17.zip
glibc-e0ea35a3f764a11cf9fc8389f128e5acad09cb17.tar.gz
glibc-e0ea35a3f764a11cf9fc8389f128e5acad09cb17.tar.bz2
Update.
* io/Makefile: Rewrite rules to avoid running ftwtest unless necessary.
Diffstat (limited to 'io/Makefile')
-rw-r--r--io/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/io/Makefile b/io/Makefile
index 0c2cf9b..c7f02d6 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -66,6 +66,8 @@ CFLAGS-test-stat.c = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
CFLAGS-test-lfs.c = -D_LARGEFILE64_SOURCE
ifeq ($(cross-compiling),no)
-tests: $(objpfx)ftwtest
- $(SHELL) -e ftwtest-sh $(common-objpfx) $(<D)/$(<F)
+tests: $(objpfx)ftwtest.out
+
+$(objpfx)ftwtest.out: $(objpfx)ftwtest
+ $(SHELL) -e ftwtest-sh $(common-objpfx) $(<D)/$(<F) > $@
endif