aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-03 22:41:09 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-02-03 22:41:09 +0100
commitee986164d354f4d7094f7e0fb4fcea31170f5661 (patch)
tree49d2521a53f91378786cf98107a20234077b27ca /Makefile
parentc0683663affb71091d7952575f3ee06e30bf9259 (diff)
downloadstring2-ee986164d354f4d7094f7e0fb4fcea31170f5661.tar.gz
string2-ee986164d354f4d7094f7e0fb4fcea31170f5661.zip
Add function to get libraryversion
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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: