blob: f3bd294c2cf5001e9d92c9a538d5422a0d0b52fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
PREFIX = /usr
PYTHON_MAJOR = $$(python --version 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1)
PYTHON_MINOR = $$(python$(PYTHON_MAJOR) --version 2>&1)
PYTHON_VER = $(PYTHON_MAJOR)$(PYTHON_MINOR)
PYTHON_VERSION = $(PYTHON_MAJOR).$(PYTHON_MINOR)
PYTHONDIR = $(PREFIX)/lib/python$(PYTHON_VERSION)
CYTHON = cython$(PYTHON_MAJOR)
PKGCONFIG = pkg-config
PYTHON = python$(PYTHON_MAJOR)
CC = c99
CPPFLAGS =
CFLAGS = -Wall $$($(PKGCONFIG) --cflags python$(PYTHON_MAJOR)) -O2
LDFLAGS = $$($(PKGCONFIG) --libs python$(PYTHON_MAJOR)) -lcoopgamma
|