1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00

There's nothing special about version.c that requires it to be linked separately.

Copied from Perforce
 Change: 186627
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-06-14 15:55:21 +01:00
parent 33b3eec69d
commit 65243ddfdf

View file

@ -210,6 +210,7 @@ MPMCOMMON = \
traceanc.c \
tract.c \
tree.c \
version.c \
walk.c
MPM = $(MPMCOMMON) $(MPMPF) $(AMC) $(AMS) $(AWL) $(LO) $(MV2) $(MVFF) $(PLINTH)
@ -634,8 +635,7 @@ endif
$(PFM)/$(VARIETY)/%.a:
$(ECHO) "$(PFM): $@"
rm -f $@
$(CC) $(CFLAGSSTRICT) -c -o $(PFM)/$(VARIETY)/version.o version.c
$(AR) $(ARFLAGS) $@ $^ $(PFM)/$(VARIETY)/version.o
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@
# Executable