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