From 88ee8a190d82bf4bc7967ea3c829a2481c814d56 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Thu, 16 Aug 2012 13:35:11 -0700 Subject: [PATCH] Use the string from version.mk in Makefile.draft. This reduces the number of places the version string needs to be updated at release. --- Makefile.draft | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.draft b/Makefile.draft index 69e87279..88637c1a 100644 --- a/Makefile.draft +++ b/Makefile.draft @@ -20,7 +20,8 @@ CFLAGS := -Drestrict= $(CFLAGS) ###################### END OF OPTIONS ###################### -CFLAGS += -DOPUS_VERSION='"1.0.1-rc2"' +include version.mk +CFLAGS += -DOPUS_VERSION='$(OPUS_VERSION)' include silk_sources.mk include celt_sources.mk include opus_sources.mk