mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
Compile multiple source files when possible.
This commit is contained in:
parent
51099b4521
commit
c654fd9e7d
@ -217,8 +217,13 @@ $(DOC): $(BLD)\make-docfile.exe
|
||||
{$(BLD)}.obj{$(BLD)}.exe:
|
||||
$(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS)
|
||||
|
||||
!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
|
||||
.c{$(BLD)}.obj:
|
||||
$(CC) $(CFLAGS) -Fo$@ $<
|
||||
$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
|
||||
!ELSE
|
||||
.c{$(BLD)}.obj::
|
||||
$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
|
||||
!ENDIF
|
||||
|
||||
#
|
||||
# Build the executables
|
||||
|
@ -29,8 +29,13 @@ TRES = $(BLD)\emacs.res
|
||||
TRES = $(BLD)\emacs.rbj
|
||||
!endif
|
||||
|
||||
!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
|
||||
.c{$(BLD)}.obj:
|
||||
$(CC) $(CFLAGS) -Fo$@ $<
|
||||
$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
|
||||
!ELSE
|
||||
.c{$(BLD)}.obj::
|
||||
$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
|
||||
!ENDIF
|
||||
|
||||
addpm: $(BLD) $(BLD)\addpm.exe
|
||||
$(BLD)\addpm.obj: addpm.c
|
||||
|
@ -241,8 +241,13 @@ $(TLASTLIB): $(BLD)\lastfile.obj
|
||||
#
|
||||
# Object files.
|
||||
#
|
||||
!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
|
||||
.c{$(BLD)}.obj:
|
||||
$(CC) $(CFLAGS) -Fo$@ $<
|
||||
$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
|
||||
!ELSE
|
||||
.c{$(BLD)}.obj::
|
||||
$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
|
||||
!ENDIF
|
||||
|
||||
#
|
||||
# Assuming INSTALL_DIR is defined, build and install emacs in it.
|
||||
|
Loading…
Reference in New Issue
Block a user