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
2017-10-17 12:50:26 +01:00

10 lines
172 B
Makefile

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