]> git.rkrishnan.org Git - dttsp.git/blob - pyhw/Makefile
Initial revision
[dttsp.git] / pyhw / Makefile
1 python:
2         swig -python hardware.i
3         gcc -fPIC -I. -I/usr/include/python -c hardware_wrap.c
4         gcc -fPIC -I. -c hardware.c
5         ld -shared hardware.o hardware_wrap.o -o _sdr1khw.so
6 clean:
7         /bin/rm -f hardware_wrap.c sdr1khw.py *.o *.so *.pyc
8