changeset 74216:567ef840b95b

($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 27 Nov 2006 07:02:19 +0000
parents e80343741269
children ebabba7dccfd
files lib-src/makefile.w32-in
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/makefile.w32-in	Mon Nov 27 02:45:10 2006 +0000
+++ b/lib-src/makefile.w32-in	Mon Nov 27 07:02:19 2006 +0000
@@ -84,7 +84,9 @@
 # put wsock32.lib before $(LIBS) to ensure we don't link to ws2_32.lib
 		$(LINK) $(LINK_OUT)$@ -mwindows $(LINK_FLAGS) $(ECLIENTOBJS) $(WSOCK32) $(LIBS)
 
-$(BLD)/emacsclient.$(O):	emacsclient.c
+# emacsclient.$(O) depends on makefile.w32-in because makefile.w32-in
+# can be edited to define VERSION string, which is part of ECLIENT_CFLAGS.
+$(BLD)/emacsclient.$(O):	emacsclient.c makefile.w32-in
 		$(CC) $(CFLAGS) $(ECLIENT_CFLAGS) $(CC_OUT)$@ emacsclient.c
 
 ETAGSOBJ      = $(BLD)/etags.$(O) \