mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Tiny simplifications in lib-src/Makfile.in
* lib-src/Makfile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
(etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
This commit is contained in:
parent
a22d9d2c2a
commit
7bdede3f5e
2 changed files with 8 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2011-05-25 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
|
||||
(etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
|
||||
|
||||
2011-05-24 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* Makefile.in (update-game-score${EXEEXT}): Use a single rule.
|
||||
|
|
|
|||
|
|
@ -313,17 +313,14 @@ test-distrib${EXEEXT}: ${srcdir}/test-distrib.c
|
|||
../lib/libgnu.a: ../src/config.h
|
||||
cd ../lib && $(MAKE) libgnu.a
|
||||
|
||||
REGEXPOBJ = regex.o
|
||||
REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h
|
||||
|
||||
regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h
|
||||
${CC} -c ${CPP_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER \
|
||||
${srcdir}/../src/regex.c
|
||||
|
||||
etags${EXEEXT}: ${srcdir}/etags.c $(REGEXPDEPS) ../src/config.h
|
||||
etags${EXEEXT}: ${srcdir}/etags.c regex.o ../src/config.h
|
||||
$(CC) ${ALL_CFLAGS} -DEMACS_NAME="\"GNU Emacs\"" \
|
||||
-DVERSION="\"${version}\"" ${srcdir}/etags.c \
|
||||
$(REGEXPOBJ) $(LOADLIBES) -o etags
|
||||
regex.o $(LOADLIBES) -o etags
|
||||
|
||||
ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${srcdir}/../lib/min-max.h ../src/config.h
|
||||
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" \
|
||||
|
|
@ -334,7 +331,7 @@ ebrowse${EXEEXT}: ${srcdir}/ebrowse.c ${srcdir}/../lib/min-max.h ../src/config.h
|
|||
ctags${EXEEXT}: etags${EXEEXT}
|
||||
$(CC) ${ALL_CFLAGS} -DCTAGS -DEMACS_NAME="\"GNU Emacs\"" \
|
||||
-DVERSION="\"${version}\"" ${srcdir}/etags.c \
|
||||
$(REGEXPOBJ) $(LOADLIBES) -o ctags
|
||||
regex.o $(LOADLIBES) -o ctags
|
||||
|
||||
profile${EXEEXT}: ${srcdir}/profile.c ../src/config.h
|
||||
$(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue