From: Geoff Voelker Date: Sat, 6 Mar 1999 02:14:28 +0000 (+0000) Subject: Compile multiple .c files when possible. X-Git-Tag: emacs-20.4~506 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=967c164cf7b11e9e22accffccf60ee512421e40f;p=emacs.git Compile multiple .c files when possible. Use BLD instead of assuming i386. --- 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