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:
richard committed 2009-08-23 06:19:15 +02:00
1 parent 0dc83c6297
commit a5e3944234
7 files changed
+104

No files matched your search

+2
View File
@@ -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: