summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index cfcf350..0ff3225 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -146,8 +146,10 @@ $(prog): $(objs) $(globdep)
globfiles = $(addprefix glob/,COPYING.LIB Makefile.in \
glob.c fnmatch.c glob.h fnmatch.h)
-$(globfiles): /home/gd/gnu/libc/posix/glob.tar
- tar xvf $< $@
+$(globfiles): stamp-glob ;
+stamp-glob: /home/gd/gnu/libc/posix/glob.tar
+ tar xvf $< glob
+ touch $@
/home/gd/gnu/libc/posix/glob.tar: force
$(MAKE) -C $(@D) $(@F) no_deps=t
.PHONY: force