diff nt/makefile.nt @ 23626:9e10a92252d9

Compile multiple source files when possible.
author Geoff Voelker <voelker@cs.washington.edu>
date Wed, 04 Nov 1998 01:28:57 +0000
parents 50cc84aa5d3c
children ce563c147515
line wrap: on
line diff
--- a/nt/makefile.nt	Wed Nov 04 01:28:04 1998 +0000
+++ b/nt/makefile.nt	Wed Nov 04 01:28:57 1998 +0000
@@ -29,8 +29,13 @@
 TRES		= $(BLD)\emacs.rbj
 !endif
 
+!IF ($(_NMAKE_VER) < $(_NMAKE_VER_5))
 .c{$(BLD)}.obj:
-		  $(CC) $(CFLAGS) -Fo$@ $<
+		$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
+!ELSE
+.c{$(BLD)}.obj::
+		$(CC) $(CFLAGS) -Fo$(OBJDIR)\i386\ $<
+!ENDIF
 
 addpm:		  $(BLD) $(BLD)\addpm.exe
 $(BLD)\addpm.obj: addpm.c