diff options
author | 2023-05-10 12:14:46 +0200 | |
---|---|---|
committer | 2023-05-10 12:14:46 +0200 | |
commit | 70ff2c82446c8a1d42dae6538defdccd88896e8c (patch) | |
tree | b8f9e735c5eec4bbbfeaa7a53e119b4cdcebec3b /config.mk | |
parent | 753816f04b3aaf8c1f17e688a8dd6ffe71fc9d57 (diff) | |
download | utils-70ff2c82446c8a1d42dae6538defdccd88896e8c.tar.gz utils-70ff2c82446c8a1d42dae6538defdccd88896e8c.zip |
Ehnance building system
Is the same as liblog.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 14 |
1 files changed, 14 insertions, 0 deletions
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" |