xref: /freebsd/tools/bus_space/Python/Makefile (revision a0409676120c1e558d0ade943019934e0f15118d)
1# $FreeBSD$
2
3SHLIB_NAME=	bus.so
4SRCS=		lang.c
5
6# Set PYTHON to the version to compile against.
7# E.g. "python2.7", "python3.6", etc...
8PYTHON=	python3.6m
9
10CFLAGS+= -I${.CURDIR}/.. -I/usr/local/include/${PYTHON}
11LDFLAGS+= -L/usr/local/lib -l${PYTHON}
12
13.include <bsd.lib.mk>
14