mirror of
https://github.com/cmur2/python-bme680.git
synced 2024-11-15 04:56:20 +01:00
10 lines
172 B
Makefile
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
|