Define a LIB_VERSION variable
diff --git a/Makefile b/Makefile
index 30a7ed9..a9008e8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,9 @@
LIB_NAME = libbsd
LIB_VERSION_MAJOR = 0
LIB_VERSION_MINOR = 0
+LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR)
-TAR_NAME = $(LIB_NAME)-$(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR)
+TAR_NAME := $(LIB_NAME)-$(LIB_VERSION)
TAR_FILE := $(TAR_NAME).tar.gz
LIB_DIST := Makefile Versions libbsd.pc