]> git.itanic.dy.fi Git - BME280_driver/commitdiff
feat: Makefile for examples
authorbrecol 🥦 <ea4hfo@gmail.com>
Sat, 6 Jun 2020 10:14:19 +0000 (12:14 +0200)
committerbrecol 🥦 <ea4hfo@gmail.com>
Sat, 6 Jun 2020 10:14:19 +0000 (12:14 +0200)
examples/Makefile [new file with mode: 0644]

diff --git a/examples/Makefile b/examples/Makefile
new file mode 100644 (file)
index 0000000..a32ac6f
--- /dev/null
@@ -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