works, but license issues due to bcm2835 lib
This commit is contained in:
13
pyserialext/Makefile
Normal file
13
pyserialext/Makefile
Normal 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
|
Reference in New Issue
Block a user