works, but license issues due to bcm2835 lib

This commit is contained in:
2019-06-17 16:10:04 +01:00
parent 488ad98b96
commit f6f0fdac1e
8 changed files with 83 additions and 1 deletions

13
pyserialext/Makefile Normal file
View File

@ -0,0 +1,13 @@
CFLAGS=-I/opt/bcm2835/include
writec.so: writec.o /opt/bcm2835/lib/libbcm2835.a
$(LD) -shared -o $@ $^
writec.o: writec.c
.c.o:
$(CC) $(CFLAGS) -c $<
.PHONY: clean
clean:
-rm -f *.so *.o