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

NAME    = string2
LIBNAME = lib${NAME}
LIBVER  = 0.0.0-a3

PREFIX          = /usr/local
INSTALL_LIB_DIR = ${PREFIX}/lib/aiezzi/${NAME}
INSTALL_INC_DIR = ${PREFIX}/include/aiezzi/${NAME}

# Directories
SRCDIR = src
ARDIR  = bin/archive
SHDIR  = bin/shared

# Sources and object files. We need two kind of object files, the first ones are for archive
SRC   != find ${SRCDIR} -name '*.c'
AROBJ  = ${SRC:${SRCDIR}/%.c=${ARDIR}/%.o}
SHOBJ  = ${SRC:${SRCDIR}/%.c=${SHDIR}/%.o}