Added script and command for dumping version and revision information. Also added define for enabling or disabling this until we have a windows script for updating hgversion.h.inc.
This commit is contained in:
2
Makefile
2
Makefile
@ -2,6 +2,7 @@
|
||||
SOURCEDIR=src
|
||||
BUILDDIR=build
|
||||
SPCOMP=bin/spcomp
|
||||
VERSIONDUMP=./updateversion.sh
|
||||
|
||||
vpath %.sp $(SOURCEDIR)
|
||||
vpath %.inc $(SOURCEDIR)/include
|
||||
@ -24,6 +25,7 @@ prepare_builddir:
|
||||
@mkdir -p $(BUILDDIR)
|
||||
|
||||
%.smx: %.sp
|
||||
$(VERSIONDUMP)
|
||||
$(SPCOMP) -i$(SOURCEDIR) -i$(SOURCEDIR)/include -o$(BUILDDIR)/$@ $<
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user