aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
blob: 6da040107ec044ece9297e93521daddc71829c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# nldev metadata
NAME = nldev
VERSION = 0.3

# Customize below to fit your system

# paths
PREFIX = /usr
MANPREFIX = ${PREFIX}/share/man

# includes and libs
INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc

# flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_GNU_SOURCE
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
LDFLAGS = -static -g ${LIBS}
#LDFLAGS = -s ${LIBS}

# compiler and linker
CC = cc