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