# HG changeset patch # User Geoff Voelker # Date 920686468 0 # Node ID ff5935fc211c7fec942a30565faa04ec4bd6a8be # Parent 252453d80f537773943da561b214be5d8cc6e6b9 Compile multiple .c files when possible. Use BLD instead of assuming i386. diff -r 252453d80f53 -r ff5935fc211c nt/makefile.def --- a/nt/makefile.def Fri Mar 05 23:01:03 1999 +0000 +++ b/nt/makefile.def Sat Mar 06 02:14:28 1999 +0000 @@ -218,3 +218,15 @@ !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