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