]> git.eshelyaron.com Git - emacs.git/commitdiff
Compile multiple .c files when possible.
authorGeoff Voelker <voelker@cs.washington.edu>
Sat, 6 Mar 1999 02:14:28 +0000 (02:14 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Sat, 6 Mar 1999 02:14:28 +0000 (02:14 +0000)
Use BLD instead of assuming i386.

nt/makefile.def

index 8b949ffe65648b9a4129c9fae2560c8afeba1c47..783f63fba8ccc854f73a77210b612936d96522f3 100644 (file)
@@ -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