summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1998-11-04 01:28:57 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1998-11-04 01:28:57 +0000
commitc654fd9e7d47874254f264e1a71bcb2e9f86cc3f (patch)
treead5690bc92a533ffa574556a6e1d5881cabfac38 /lib-src
parent51099b4521f9785a82ff32b32b5e47cf2b845deb (diff)
downloademacs-c654fd9e7d47874254f264e1a71bcb2e9f86cc3f.tar.gz
Compile multiple source files when possible.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/makefile.nt7
1 files changed, 6 insertions, 1 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
{$(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