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