mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(etags): add dependency on regex.o, link with it.
(REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
This commit is contained in:
parent
87485d6fc9
commit
66ab94d9bb
1 changed files with 7 additions and 2 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue