Commit fc163cee2fd148ef121e2481dfc08065b36b6b2b

Guillem Jover 2008-07-09T07:23:49

Move version and library name to the beginning of the file

diff --git a/Makefile b/Makefile
index e869dd4..db853d8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,10 @@
 # libbsd
 #
 
+LIB_NAME = libbsd
+LIB_VERSION_MAJOR = 0
+LIB_VERSION_MINOR = 0
+
 LIB_SRCS := arc4random.c bsd_getopt.c err.c fgetln.c heapsort.c \
 	    humanize_number.c inet_net_pton.c \
 	    hash/md5.c hash/md5hl.c \
@@ -21,10 +25,6 @@ LIB_MANS := $(patsubst %,man/%,$(LIB_MANS))
 LIB_STATIC_OBJS = $(LIB_SRCS:%.c=%.o)
 LIB_SHARED_OBJS = $(LIB_SRCS:%.c=%.lo)
 
-LIB_NAME = libbsd
-LIB_VERSION_MAJOR = 0
-LIB_VERSION_MINOR = 0
-
 LIB_STATIC = $(LIB_NAME).a
 
 LIB_SHARED_SO = $(LIB_NAME).so