diff options
author | Andre Heider | 2009-03-15 21:17:37 +0000 |
---|---|---|
committer | Andre Heider | 2009-03-15 21:17:37 +0000 |
commit | 6e1b154484c1684802cfe44000cb371105de099f (patch) | |
tree | 609930d430ddbf318059bd920e5082eb44a9a2eb /Makefile | |
parent | 466ba4bbfe2a378ed3833d1c1209a4ce25ef8d7e (diff) | |
download | scummvm-rg350-6e1b154484c1684802cfe44000cb371105de099f.tar.gz scummvm-rg350-6e1b154484c1684802cfe44000cb371105de099f.tar.bz2 scummvm-rg350-6e1b154484c1684802cfe44000cb371105de099f.zip |
Added the SVN revision to SCUMMVM_VERSION. The variable has be be set externally, e.g. 'make SCUMMVM_SVN_REVISION=x'
svn-id: r39431
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,6 +30,10 @@ CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings # Disable RTTI and exceptions, and enabled checking of pointers returned by "new" CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new +ifneq "$(SCUMMVM_SVN_REVISION)" "" +CXXFLAGS+= -DSCUMMVM_SVN_REVISION=\"$(SCUMMVM_SVN_REVISION)\" +endif + # There is a nice extra warning that flags variables that are potentially # used before being initialized. Very handy to catch a certain kind of # bugs. Unfortunately, it only works when optimizations are turned on, |