# HG changeset patch # User Jason Rumney # Date 1207820687 0 # Node ID 8f290e24bc3a8eadb594fdde03ac14f2d3d46d9a # Parent 45332330ce1b91de59ff7c13b02bf217d78e2afc (CLIENTRES): New variable and build target. (all): Depend on it. ($(TRES)): Use $(TRES) in rule. diff -r 45332330ce1b -r 8f290e24bc3a nt/makefile.w32-in --- 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)