diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | io/Makefile | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 8c3cb6c047..835d1d9ae7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,8 @@ * io/Makefile (tests): Add tst-getcwd. * io/tst-getcwd.c: New file. + * io/Makefile: Rewrite rules to avoid running ftwtest unless necessary. + 2000-07-15 Jakub Jelinek <jakub@redhat.com> * gconv_open (__gconv_open): Initialize whole __gconv_trans_data diff --git a/io/Makefile b/io/Makefile index 0c2cf9b3cd..c7f02d618e 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 |