aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorGeoff Voelker <[email protected]>1998-11-04 01:28:57 +0000
committerGeoff Voelker <[email protected]>1998-11-04 01:28:57 +0000
commitc654fd9e7d47874254f264e1a71bcb2e9f86cc3f (patch)
treead5690bc92a533ffa574556a6e1d5881cabfac38 /nt
parent51099b4521f9785a82ff32b32b5e47cf2b845deb (diff)
Compile multiple source files when possible.
Diffstat (limited to 'nt')
-rw-r--r--nt/makefile.nt7
1 files changed, 6 insertions, 1 deletions
diff --git a/nt/makefile.nt b/nt/makefile.nt
index ab1dd5b7fe..77609f45bb 100644
--- a/nt/makefile.nt
+++ b/nt/makefile.nt
@@ -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