xref: /freebsd/tools/bus_space/Python/Makefile (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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