diff options
author | 2023-02-04 00:45:27 +0100 | |
---|---|---|
committer | 2023-02-04 00:45:27 +0100 | |
commit | 74673937256ea22762c04cad1ce1ebd9782931d9 (patch) | |
tree | 10703d5f21fda4fc241438e87f1820f4edf2ce30 | |
parent | 53302a6f04dab80aa14043a72bd519597fb23dfb (diff) | |
download | log-74673937256ea22762c04cad1ce1ebd9782931d9.tar.gz log-74673937256ea22762c04cad1ce1ebd9782931d9.zip |
Add to cflags and ldflags references to liraries
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | libs.mk | 11 |
2 files changed, 13 insertions, 2 deletions
@@ -8,8 +8,8 @@ OBJ = ${SRC:.c=.o} LIBNAME = liblog -CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} -LDFLAGS = +CFLAGS = -Wall -ansi --std=c89 -pedantic ${OPT} -I${LIBINC} +LDFLAGS = ${LIBS} dist: @@ -0,0 +1,11 @@ +# See LICENSE file for copyright and license details. + +LIBDIR = lib + +LIBSTR_VER = 0.0.0-a1 +LIBSTR = cstr-${LIBSTR_VER} +LIBSTR_INC = -I${LIB_DIR}/${LIBSTR}/src +LIBSTR_LIB = -L${LIB_DIR}/${LIBSTR} -l:libstr.a + +LIBINC = ${LIBSTR_INC} +LIBS = ${LIBSTR_LIB} |