1
0
mirror of https://github.com/cmur2/python-bme680.git synced 2024-11-14 18:56:19 +01:00
python-bme680/c/BME680_driver/Makefile

10 lines
172 B
Makefile
Raw Normal View History

2017-10-15 12:36:20 +02:00
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