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