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