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