From 66ab94d9bb95daa6dceb12a8239ff1186275120e Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 17 Oct 1994 20:26:22 +0000 Subject: [PATCH] (etags): add dependency on regex.o, link with it. (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added. --- lib-src/Makefile.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index f121f0aae2..408487812e 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -301,8 +301,13 @@ getopt1.o: ${srcdir}/getopt1.c ${srcdir}/getopt.h alloca.o: ${srcdir}/alloca.c ${CC} -c ${ALLOCA_CFLAGS} ${srcdir}/alloca.c -etags: ${srcdir}/etags.c $(GETOPTDEPS) ../src/config.h - $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(LOADLIBES) -o etags +REGEXPOBJ = regex.o +REGEXPDEPS = $(REGEXPOBJ) ../src/regex.h +regex.o: ../src/regex.c ../src/regex.h + ${CC} -c ${CPP_CFLAGS} -Uemacs -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ../src/regex.c + +etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h + $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" -DETAGS_REGEXPS ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags /* We depend on etags to assure that parallel makes don't write two etags.o files on top of each other. */ -- 2.20.1