summaryrefslogtreecommitdiffstats
path: root/config.mk
blob: 3a90cd4c0ee121f38109198bee1cef0377127c18 (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       ?= gcc
CPPFLAGS += -DVERSION=\"${VERSION}\"
CFLAGS   += -std=c99 -g -pedantic -Wall -Wextra -Werror ${CPPFLAGS}
LDFLAGS  += -lalpm