-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.mk
38 lines (27 loc) · 1.1 KB
/
config.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
## Set up some variables for use in building nombre
## Used as a means of working around Makefile limitations and portability concerns
## Uncomment to force a debug build
#DBG = -g3 -NOMBRE_DEBUG
## Set the library and include paths
INCS = -I/usr/include -I/usr/local/include
LIBS = -L/usr/lib -L/usr/local/lib
## Library linkages
LINKTO = -lc -lsqlite3 -lpthread
## Define where the binary will be installed
## Default is ${HOME}/bin
PREFIX = ${HOME}
DESTDIR = /bin
## Comment out to not use Clang
include clang-opts.mk
## Uncomment to use GCC
#include gcc-opts.mk
## Uncomment for "failsafe" settings
#include failsafe.mk
## These macros will be passed to the compiler, they should only be used if for some reason
## the build process complains of certain macros or functions not being defined, in which case
## these can be used to force enable/disable certain features.
MACRO_OVERRIDES =
## Use these on Ubuntu, and likely most other Debian derived distros
#MACRO_OVERRIDES += -D_DEFAULT_SOURCE
## Use this on Alpine, and possibly on other musl libc systems
#MACRO_OVERRIDES += -Wno-disabled-macro-expansion