From 35261484a273bd0ae38b2a0574c81a6b64741d53 Mon Sep 17 00:00:00 2001 From: ehouse Date: Wed, 16 Aug 2006 01:30:31 +0000 Subject: [PATCH] include svn version in name of generated .exe file. --- xwords4/wince/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xwords4/wince/Makefile b/xwords4/wince/Makefile index 1d564fa53..7a79cb510 100644 --- a/xwords4/wince/Makefile +++ b/xwords4/wince/Makefile @@ -15,6 +15,8 @@ # # mingw32 mingw32-binutils mingw32-runtime pocketpc-sdk +SVNREV = $(shell svnversion -n .) + PLATFORM = wince TARGET_OS ?= win32 @@ -58,7 +60,7 @@ CFLAGS += -DARM -I$(MINGW_INC_PATH) -I./ -I../common -I../relay CFLAGS += -Wall -SVNDEF = -DSVN_REV='\"$(shell svnversion -n .)\"' +SVNDEF = -DSVN_REV='\"$(SVNREV)\"' CFLAGS += $(SVNDEF) RESFLAGS += $(SVNDEF) @@ -75,7 +77,7 @@ CFLAGS += -Os OBJDIR = obj_$(TARGET_OS)_rel endif -TARGET = $(OBJDIR)/xwords4.exe +TARGET = $(OBJDIR)/xwords4_$(SVNREV).exe RESOBJS = \ $(OBJDIR)/xwords4.rc.o \