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