]> code.delx.au - gnu-emacs/blobdiff - nt/makefile.def
Add xref to Make manual.
[gnu-emacs] / nt / makefile.def
index 8b949ffe65648b9a4129c9fae2560c8afeba1c47..6fb05dfd20a63c4224259ab0c81d5e8f1b1062c4 100644 (file)
@@ -1,5 +1,6 @@
 #
 #  Makefile definition file for building GNU Emacs on Windows NT
+#  Copyright (c) 1994-2001 Free Software Foundation, Inc.
 #  
 #  GNU Emacs is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
@@ -136,9 +137,9 @@ BASE_LIBS   = $(libc) $(baselibs) -nodefaultlib:oldnames.lib
 
 # We want any debugging info in the executable.
 !if "$(LINK)" == "link32"
-SYS_LDFLAGS    = 
+SYS_LDFLAGS    = -nologo
 !else
-SYS_LDFLAGS    = -release -incremental:no -version:3.10
+SYS_LDFLAGS    = -nologo -release -incremental:no -version:3.10
 !endif
 
 # Tag the executables to run out of the swapfile when execute off CD or network shares
@@ -178,9 +179,6 @@ DEL         = del
 DEL_TREE       = rd /s/q
 !endif
 
-# The location of the icon file
-EMACS_ICON_PATH = ..\nt\emacs.ico
-
 # Lets us add icons to the GNU Emacs folder
 ADDPM          = ..\nt\$(BLD)\addpm.exe
 
@@ -218,3 +216,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