aboutsummaryrefslogtreecommitdiff
path: root/config.mk
blob: cbaae37338a90a84d278f44199fa2755fbb7507e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# See LICENSE file for copyright and license details.

PREFIX = /usr/local/aiezzi

CC   = cc
SRC != find src -name "*.c"
OBJ  = ${SRC:.c=.o}

LIBNAME = libutils
LIBDSCR = A utility library
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"