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

PREFIX = /usr/local

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

NAME    = str2
LIBNAME = lib${NAME}
LIBDSCR = String library (extension of the C standard string library)
LIBVER  = 0.0.0-a4

PC_FILE = ${NAME}.pc

CFLAGS  = -Wall --std=c99 -pedantic ${OPT} -DLIBVER=\"${LIBVER}\"

PKG_CONFIG_PATH != pkg-config --variable pc_path pkg-config | sed -E "s|.*(/usr/local[^:]*)[:].*|\1|g"