summaryrefslogtreecommitdiffstats
path: root/config.mk
blob: 3d669921c40c343d78c19ac3e3b63e58a911b444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# version
VERSION = $(shell git describe --always)

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

# compiler flags
CC ?= c99
CPPFLAGS += -DVERSION=\"${VERSION}\"
CFLAGS += -std=c99 -g -pedantic -Wall -Wextra ${CPPFLAGS}
LDFLAGS += -lalpm