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