From 2d51bed54445c15086edb413156d2388ce597c24 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Sat, 4 Feb 2023 01:48:29 +0100 Subject: Add function to get library version --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1e10800..b831cbb 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,9 @@ SRC != find src -name "*.c" OBJ = ${SRC:.c=.o} LIBNAME = liblog +LIBVER = 0 -CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} ${LIBINC} +CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} ${LIBINC} -DLIBVER=\"${LIBVER}\" LDFLAGS = ${LIBS} dist: static shared -- cgit v1.2.3