freebsd-dev/tools/bus_space/Python/Makefile
Marcel Moolenaar da4f5bdaff Add support for Python 3 and make it the default.
Python 2.7 will retire on Januari 1, 2020.
2019-06-30 02:29:12 +00:00

14 lines
273 B
Makefile

# $FreeBSD$
SHLIB_NAME= bus.so
SRCS= lang.c
# Set PYTHON to the version to compile against.
# E.g. "python2.7", "python3.6", etc...
PYTHON= python3.6m
CFLAGS+= -I${.CURDIR}/.. -I/usr/local/include/${PYTHON}
LDFLAGS+= -L/usr/local/lib -l${PYTHON}
.include <bsd.lib.mk>