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