diff options
-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} |