changeset 24443:ff5935fc211c

Compile multiple .c files when possible. Use BLD instead of assuming i386.
author Geoff Voelker <voelker@cs.washington.edu>
date Sat, 06 Mar 1999 02:14:28 +0000
parents 252453d80f53
children 3e294a7e67de
files nt/makefile.def
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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