xref: /freebsd/tools/bus_space/Python/Makefile (revision 62cfcf62f627e5093fb37026a6d8c98e4d2ef04c)
1# $FreeBSD$
2
3SHLIB_NAME=	bus.so
4SRCS=		lang.c
5
6# Set PYTHON to the version to compile against.
7# E.g. "python2.7", "python3.6", etc...
8PYTHON=	python3.6m
9
10CFLAGS+= -I${.CURDIR}/.. -I/usr/local/include/${PYTHON}
11LDFLAGS+= -L/usr/local/lib -l${PYTHON}
12
13.include <bsd.lib.mk>
14