Files
WiringPi2-Python/Makefile
Philip Howard 990cdaed33 Update Makefile
2016-02-27 17:51:11 +00:00

10 lines
174 B
Makefile

all: bindings
python setup.py build
bindings:
grep -PhR "(?s)extern [^\"](.*);" WiringPi/ > bindings.i
swig2.0 -python wiringpi.i
install:
sudo python setup.py install