update version to 0.4.6
diff --git a/Makefile b/Makefile
index 9caa907..62ca668 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,8 @@
 #  - Public forum : https://groups.google.com/forum/#!forum/lz4c
 # ################################################################
 
+# force a version number : uncomment below export (otherwise, default to the one declared into zstd.h)
+#export VERSION := 0.4.6
 
 PRGDIR  = programs
 ZSTDDIR = lib
diff --git a/lib/Makefile b/lib/Makefile
index 181d4a7..a4a156d 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -40,7 +40,7 @@
 LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT))
 LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT))
 LIBVER := $(shell echo $(LIBVER_SCRIPT))
-VERSION:= $(LIBVER)
+VERSION?= $(LIBVER)
 
 DESTDIR?=
 PREFIX ?= /usr/local
diff --git a/lib/zstd.h b/lib/zstd.h
index d6eb0b5..bba0961 100644
--- a/lib/zstd.h
+++ b/lib/zstd.h
@@ -62,7 +62,7 @@
 ***************************************/
 #define ZSTD_VERSION_MAJOR    0    /* for breaking interface changes  */
 #define ZSTD_VERSION_MINOR    4    /* for new (non-breaking) interface capabilities */
-#define ZSTD_VERSION_RELEASE  5    /* for tweaks, bug-fixes, or development */
+#define ZSTD_VERSION_RELEASE  6    /* for tweaks, bug-fixes, or development */
 #define ZSTD_VERSION_NUMBER  (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE)
 ZSTDLIB_API unsigned ZSTD_versionNumber (void);
 
diff --git a/programs/Makefile b/programs/Makefile
index b9d51ad..f2230d9 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -39,7 +39,7 @@
 LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT))
 LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT))
 LIBVER := $(shell echo $(LIBVER_SCRIPT))
-VERSION:= $(LIBVER)
+VERSION?= $(LIBVER)
 
 DESTDIR?=
 PREFIX ?= /usr/local