aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
blob: e45ec859466f1c7404083c5a77fe217a84f9922d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
PREFIX    = /usr/local
MANPREFIX = $(PREFIX)/share/man
PYTHONDIR = $(PREFIX)/lib/python$(PY_MAJOR).$(PY_MINOR)

CPPFLAGS  = -D_DEFAULT_SOURCE -D_BSD_SOUCE -D_XOPEN_SOURCE=700
CFLAGS    = -std=c99 -O2 $$(pkg-config --cflags python$(PY_MAJOR)) $(CPPFLAGS)
LDFLAGS   = -s $$(pkg-config --libs python$(PY_MAJOR)) -lbus

CYTHON    = cython
PYTHON    = python$(PY_MAJOR)