aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..e45ec85
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,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)