aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeoff Voelker1998-11-04 01:28:57 +0000
committerGeoff Voelker1998-11-04 01:28:57 +0000
commitc654fd9e7d47874254f264e1a71bcb2e9f86cc3f (patch)
treead5690bc92a533ffa574556a6e1d5881cabfac38
parent51099b4521f9785a82ff32b32b5e47cf2b845deb (diff)
downloademacs-c654fd9e7d47874254f264e1a71bcb2e9f86cc3f.tar.gz
emacs-c654fd9e7d47874254f264e1a71bcb2e9f86cc3f.zip
Compile multiple source files when possible.
-rw-r--r--lib-src/makefile.nt7
-rw-r--r--nt/makefile.nt7
-rw-r--r--src/makefile.nt7
3 files changed, 18 insertions, 3 deletions
diff --git a/lib-src/makefile.nt b/lib-src/makefile.nt
index ab1729cfa8c..dff390ccb1f 100644
--- a/lib-src/makefile.nt
+++ b/lib-src/makefile.nt
@@ -217,8 +217,13 @@ $(DOC): $(BLD)\make-docfile.exe
217{$(BLD)}.obj{$(BLD)}.exe: 217{$(BLD)}.obj{$(BLD)}.exe:
218 $(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS) 218 $(LINK) -out:$@ $(LINK_FLAGS) $*.obj $(LIBS)
219 219
220!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
220.c{$(BLD)}.obj: 221.c{$(BLD)}.obj:
221 $(CC) $(CFLAGS) -Fo$@ $< 222 $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
223!ELSE
224.c{$(BLD)}.obj::
225 $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
226!ENDIF
222 227
223# 228#
224# Build the executables 229# Build the executables
diff --git a/nt/makefile.nt b/nt/makefile.nt
index ab1dd5b7fe9..77609f45bb9 100644
--- a/nt/makefile.nt
+++ b/nt/makefile.nt
@@ -29,8 +29,13 @@ TRES = $(BLD)\emacs.res
29TRES = $(BLD)\emacs.rbj 29TRES = $(BLD)\emacs.rbj
30!endif 30!endif
31 31
32!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
32.c{$(BLD)}.obj: 33.c{$(BLD)}.obj:
33 $(CC) $(CFLAGS) -Fo$@ $< 34 $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
35!ELSE
36.c{$(BLD)}.obj::
37 $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
38!ENDIF
34 39
35addpm: $(BLD) $(BLD)\addpm.exe 40addpm: $(BLD) $(BLD)\addpm.exe
36$(BLD)\addpm.obj: addpm.c 41$(BLD)\addpm.obj: addpm.c
diff --git a/src/makefile.nt b/src/makefile.nt
index df55ce3cb3a..c91b61886fd 100644
--- a/src/makefile.nt
+++ b/src/makefile.nt
@@ -241,8 +241,13 @@ $(TLASTLIB): $(BLD)\lastfile.obj
241# 241#
242# Object files. 242# Object files.
243# 243#
244!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
244.c{$(BLD)}.obj: 245.c{$(BLD)}.obj:
245 $(CC) $(CFLAGS) -Fo$@ $< 246 $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
247!ELSE
248.c{$(BLD)}.obj::
249 $(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
250!ENDIF
246 251
247# 252#
248# Assuming INSTALL_DIR is defined, build and install emacs in it. 253# Assuming INSTALL_DIR is defined, build and install emacs in it.