From 967c164cf7b11e9e22accffccf60ee512421e40f Mon Sep 17 00:00:00 2001 From: Geoff Voelker Date: Sat, 6 Mar 1999 02:14:28 +0000 Subject: [PATCH] Compile multiple .c files when possible. Use BLD instead of assuming i386. --- nt/makefile.def | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nt/makefile.def b/nt/makefile.def index 8b949ffe65..783f63fba8 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 -- 2.20.1