From ee986164d354f4d7094f7e0fb4fcea31170f5661 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Fri, 3 Feb 2023 22:41:09 +0100 Subject: Add function to get libraryversion --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b3f85e3..c6643d4 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,9 @@ SRC != find src -name '*.c' OBJ = ${SRC:.c=.o} LIBNAME = libstr +LIBVER = 0.0.0a1 -CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} +CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} -DLIBVER=\"${LIBVER}\" LDFLAGS = dist: -- cgit v1.2.3