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