changeset 80480:8f290e24bc3a

(CLIENTRES): New variable and build target. (all): Depend on it. ($(TRES)): Use $(TRES) in rule.
author Jason Rumney <jasonr@gnu.org>
date Thu, 10 Apr 2008 09:44:47 +0000
parents 45332330ce1b
children 5e8c01d31b63
files nt/makefile.w32-in
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/nt/makefile.w32-in	Thu Apr 10 09:42:29 2008 +0000
+++ b/nt/makefile.w32-in	Thu Apr 10 09:44:47 2008 +0000
@@ -24,13 +24,15 @@
 # FIXME: This file uses DOS EOLs.  Convert to Unix after 22.1 is out
 #        (and remove or replace this comment).
 
-ALL		= addpm ddeclient runemacs cmdproxy addsection preprep
+TRES		= $(BLD)/emacs.res
+CLIENTRES	= $(BLD)/emacsclient.res
+
+XMFLAGS		=
+
+ALL		= addpm ddeclient runemacs cmdproxy addsection preprep $(CLIENTRES)
 
 .PHONY: $(ALL)
 
-TRES		= $(BLD)/emacs.res
-
-XMFLAGS		=
 
 addpm:		  stamp_BLD $(BLD)/addpm.exe
 $(BLD)/addpm.exe: $(BLD)/addpm.$(O)
@@ -62,7 +64,10 @@
 # it is not necessary on later versions, it is still ok to use it.
 #
 $(TRES):	emacs.rc stamp_BLD
-		$(RC) $(RC_OUT)$(BLD)/emacs.res emacs.rc
+		$(RC) $(RC_OUT)$(TRES) emacs.rc
+
+$(CLIENTRES):	emacsclient.rc stamp_BLD
+		$(RC) $(RC_OUT)$(CLIENTRES) emacsclient.rc
 
 runemacs:	  stamp_BLD $(BLD)/runemacs.exe
 $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)