From 9983d136afd2625af703e940bfc25af4c3a23b94 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Sat, 2 Jan 2021 21:12:11 -0800 Subject: [PATCH] build: move version number to file --- Makefile | 2 +- VERSION | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 VERSION diff --git a/Makefile b/Makefile index 73ee45b..6e389ef 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ endif LIBUCONTEXT_C_SRC = $(wildcard arch/${ARCH}/*.c) LIBUCONTEXT_S_SRC = $(wildcard arch/${ARCH}/*.S) -LIBUCONTEXT_VERSION := 0.13.1 +LIBUCONTEXT_VERSION := $(shell head VERSION) LIBUCONTEXT_OBJ = ${LIBUCONTEXT_C_SRC:.c=.o} ${LIBUCONTEXT_S_SRC:.S=.o} LIBUCONTEXT_SOVERSION = 0 LIBUCONTEXT_NAME = libucontext.so diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..ed0d9e9 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.13.1 \ No newline at end of file