diff options
author | 2023-02-04 01:48:29 +0100 | |
---|---|---|
committer | 2023-02-04 01:48:29 +0100 | |
commit | 2d51bed54445c15086edb413156d2388ce597c24 (patch) | |
tree | eeaabccfbe4a01752f47f45404ba50572e0ef38e /Makefile | |
parent | 8ca441830f36111943860a98a21c736d4087bb2e (diff) | |
download | log-2d51bed54445c15086edb413156d2388ce597c24.tar.gz log-2d51bed54445c15086edb413156d2388ce597c24.zip |
Add function to get library version
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |