Move filename related variables to the beginning of the file Switch them to single expanded varibles.
diff --git a/Makefile b/Makefile
index a9008e8..52b469d 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,11 @@ LIB_VERSION_MAJOR = 0
LIB_VERSION_MINOR = 0
LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR)
+LIB_STATIC := $(LIB_NAME).a
+LIB_SHARED_SO := $(LIB_NAME).so
+LIB_SONAME := $(LIB_SHARED_SO).$(LIB_VERSION_MAJOR)
+LIB_SHARED := $(LIB_SONAME).$(LIB_VERSION_MINOR)
+
TAR_NAME := $(LIB_NAME)-$(LIB_VERSION)
TAR_FILE := $(TAR_NAME).tar.gz
@@ -32,12 +37,6 @@ LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
LIB_STATIC_OBJS = $(LIB_SRCS:%.c=%.o)
LIB_SHARED_OBJS = $(LIB_SRCS:%.c=%.lo)
-LIB_STATIC = $(LIB_NAME).a
-
-LIB_SHARED_SO = $(LIB_NAME).so
-LIB_SONAME = $(LIB_SHARED_SO).$(LIB_VERSION_MAJOR)
-LIB_SHARED = $(LIB_SONAME).$(LIB_VERSION_MINOR)
-
MK_CFLAGS = -Iinclude/ -include bsd/bsd.h -D_GNU_SOURCE -D__REENTRANT
libs: $(LIB_STATIC) $(LIB_SHARED_SO)