summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f50baa9..df574ca 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,11 @@
CWD = $(shell readlink -f .)
+
+ifeq ($(BUILD_NUMBER),)
+BUILD_NO=0
+else
+BUILD_NO=$(BUILD_NUMBER)
+endif
+
VERSION=0.4.1
SRCDIR=$(CWD)/SOURCES
BUILDDIR=$(CWD)/build
@@ -10,7 +17,8 @@ MASCH=$(shell uname -m)
INSTDIR=$(CWD)/inst/crossppc
GCC_VERSION=3.0.4
LANGUAGES=c
-PACKAGE=$(CWD)/vxw55-crossppc-$(GCC_VERSION)-$(HOST).tar.gz
+PACKAGE=$(CWD)/vxw55-crossppc-$(GCC_VERSION)-$(BUILD_NO)-$(HOST).tar.gz
+
ifeq ($(WIND_BASE),)
$(error WIND_BASE not specified )