mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-17 18:12:01 +01:00
include svn version in name of generated .exe file.
This commit is contained in:
parent
61959b394a
commit
35261484a2
1 changed files with 4 additions and 2 deletions
|
@ -15,6 +15,8 @@
|
||||||
#
|
#
|
||||||
# mingw32 mingw32-binutils mingw32-runtime pocketpc-sdk
|
# mingw32 mingw32-binutils mingw32-runtime pocketpc-sdk
|
||||||
|
|
||||||
|
SVNREV = $(shell svnversion -n .)
|
||||||
|
|
||||||
PLATFORM = wince
|
PLATFORM = wince
|
||||||
|
|
||||||
TARGET_OS ?= win32
|
TARGET_OS ?= win32
|
||||||
|
@ -58,7 +60,7 @@ CFLAGS += -DARM -I$(MINGW_INC_PATH) -I./ -I../common -I../relay
|
||||||
|
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
|
|
||||||
SVNDEF = -DSVN_REV='\"$(shell svnversion -n .)\"'
|
SVNDEF = -DSVN_REV='\"$(SVNREV)\"'
|
||||||
CFLAGS += $(SVNDEF)
|
CFLAGS += $(SVNDEF)
|
||||||
RESFLAGS += $(SVNDEF)
|
RESFLAGS += $(SVNDEF)
|
||||||
|
|
||||||
|
@ -75,7 +77,7 @@ CFLAGS += -Os
|
||||||
OBJDIR = obj_$(TARGET_OS)_rel
|
OBJDIR = obj_$(TARGET_OS)_rel
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGET = $(OBJDIR)/xwords4.exe
|
TARGET = $(OBJDIR)/xwords4_$(SVNREV).exe
|
||||||
|
|
||||||
RESOBJS = \
|
RESOBJS = \
|
||||||
$(OBJDIR)/xwords4.rc.o \
|
$(OBJDIR)/xwords4.rc.o \
|
||||||
|
|
Loading…
Reference in a new issue