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