Merge pull request #81 from brecolbrecol/master

feat: Makefile for examples
This commit is contained in:
Bosch Sensortec 2020-06-08 08:21:52 +02:00 committed by GitHub
commit 94f553126c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
examples/bme280

8
examples/Makefile Normal file
View File

@ -0,0 +1,8 @@
raspbian:
gcc linux_userspace.c ../bme280.c -I ../ -lwiringPi -o bme280
bsd:
cc bsd_userspace.c ../bme280.c -I ../ -o bme280
clean:
rm -v bme280