From: brecol 🥦 Date: Sat, 6 Jun 2020 10:14:19 +0000 (+0200) Subject: feat: Makefile for examples X-Git-Url: http://git.itanic.dy.fi/?p=BME280_driver;a=commitdiff_plain;h=d4eae7f0ddf65205fd102b885d2e44322b900b5b feat: Makefile for examples --- diff --git a/examples/Makefile b/examples/Makefile new file mode 100644 index 0000000..a32ac6f --- /dev/null +++ b/examples/Makefile @@ -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