summaryrefslogtreecommitdiff
path: root/nt/makefile.def
diff options
context:
space:
mode:
authorGeoff Voelker <voelker@cs.washington.edu>1999-03-06 02:14:28 +0000
committerGeoff Voelker <voelker@cs.washington.edu>1999-03-06 02:14:28 +0000
commit967c164cf7b11e9e22accffccf60ee512421e40f (patch)
tree9fee2537b7fc9b6afaaa442212d0d9035c97b50a /nt/makefile.def
parent7abbd5fe02c77560c4b17c02fc5c8c4c3efd9332 (diff)
downloademacs-967c164cf7b11e9e22accffccf60ee512421e40f.tar.gz
Compile multiple .c files when possible.
Use BLD instead of assuming i386.
Diffstat (limited to 'nt/makefile.def')
-rw-r--r--nt/makefile.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/nt/makefile.def b/nt/makefile.def
index 8b949ffe656..783f63fba8c 100644
--- a/nt/makefile.def
+++ b/nt/makefile.def
@@ -218,3 +218,15 @@ ARCH_LDFLAGS = -align:0x1000 $(SYS_LDFLAGS)
!endif
!endif
!endif
+
+#
+# If the compiler supports compiling multiple .c files to .o files at
+# one time, use this feature.
+#
+!IF ("$(_NMAKE_VER)" == "$(_NMAKE_VER_4)")
+.c{$(BLD)}.obj:
+ $(CC) $(CFLAGS) -Fo$(BLD)\ $<
+!ELSE
+.c{$(BLD)}.obj::
+ $(CC) $(CFLAGS) -Fo$(BLD)\ $<
+!ENDIF