From 70ff2c82446c8a1d42dae6538defdccd88896e8c Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 10 May 2023 12:14:46 +0200 Subject: Ehnance building system Is the same as liblog. --- config.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..4614858 --- /dev/null +++ b/config.mk @@ -0,0 +1,14 @@ +# See LICENSE file for copyright and license details. + +PREFIX = /usr/local + +CC = cc +SRC != find src -name "*.c" +OBJ = ${SRC:.c=.o} + +LIBNAME = libutils +LIBVER = 0.0.1 + +CFLAGS = -Wall --std=c99 -pedantic ${OPT} -DLIBVER=\"${LIBVER}\" + +PKG_CONFIG_PATH != pkg-config --variable pc_path pkg-config | sed -E "s|.*(${PREFIX}[^:]*)[:].*|\1|g" -- cgit v1.2.3