Remove the old revision number hack.
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@222 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
dcaecafb4d
commit
ffec634777
|
@ -73,6 +73,7 @@ warzone_SOURCES = \
|
||||||
radar.c \
|
radar.c \
|
||||||
raycast.c \
|
raycast.c \
|
||||||
research.c \
|
research.c \
|
||||||
|
revision.h \
|
||||||
scores.c \
|
scores.c \
|
||||||
scriptai.c \
|
scriptai.c \
|
||||||
scriptcb.c \
|
scriptcb.c \
|
||||||
|
@ -277,10 +278,7 @@ warzone_LDFLAGS = -L../lib/framework -L../lib/gamelib -L../lib/$(RENDERER) \
|
||||||
warzone_DEPENDENCIES = $(warzone_libs)
|
warzone_DEPENDENCIES = $(warzone_libs)
|
||||||
warzone_LDADD = $(warzone_libs)
|
warzone_LDADD = $(warzone_libs)
|
||||||
|
|
||||||
|
|
||||||
# Just delete frontend.o so it is remade unconditionally to have an
|
# Just delete frontend.o so it is remade unconditionally to have an
|
||||||
# up-to-date revision number.
|
# up-to-date revision number.
|
||||||
STUPID_TRICK := $(shell rm -rf frontend.o)
|
STUPID_TRICK := $(shell rm -rf frontend.o)
|
||||||
|
CFLAGS += $(STUPID_TRICK)
|
||||||
SVN_REV := $(shell svnversion ..)
|
|
||||||
CFLAGS += -DSVN_REVISION=\"$(SVN_REV)\" $(STUPID_TRICK)
|
|
||||||
|
|
Loading…
Reference in New Issue