1
0
mirror of https://github.com/cmur2/python-bme680.git synced 2025-06-29 10:30:31 +02:00

Refactor for shipping as library

This commit is contained in:
Phil Howard
2017-10-17 12:50:26 +01:00
parent 6ed4ade9d7
commit e930b211c9
24 changed files with 83 additions and 1859 deletions

9
c/BME680_driver/Makefile Normal file
View File

@ -0,0 +1,9 @@
all: main
lib:
gcc -c -fpic bme680.c
ar rcs libbme680.a bme680.o
gcc -shared -o libbme680.so bme680.o
main: lib
gcc main.c -L. -static -lbme680 -o main