summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/grot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/regex/grot/Makefile')
-rw-r--r--lib/libc/regex/grot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/regex/grot/Makefile b/lib/libc/regex/grot/Makefile
index b610c80..3e41724 100644
--- a/lib/libc/regex/grot/Makefile
+++ b/lib/libc/regex/grot/Makefile
@@ -48,12 +48,14 @@ re: $(OBJS)
o: $(OBJPRODN)
-REGEXHSRC = regex2.h reg*.c
+REGEXHSRC = ../regex2.h ../reg*.c
h: $(REGEXHSRC)
sh mkh $(MKHFLAGS) -i _REGEX_H_ $(REGEXHSRC) >regex.tmp
cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
rm -f regex.tmp
+regex.h: h
+
regcomp.o regexec.o regfree.o debug.o: utils.h regex.h regex2.h
regcomp.o: cname.h regcomp.ih
regexec.o: engine.c engine.ih
OpenPOWER on IntegriCloud