diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-01-04 21:02:45 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-01-04 21:02:45 +0100 |
commit | 2f50ae8864aa2ba9e5807432eb878552389a9cb2 (patch) | |
tree | d4d028587942f109f10fcead918d9682a70f9bad /Makefile | |
parent | 7c0e1f7ffb750813a788940fdd55e9800c2f701d (diff) | |
download | trygvisio_soil_moisture-2f50ae8864aa2ba9e5807432eb878552389a9cb2.tar.gz trygvisio_soil_moisture-2f50ae8864aa2ba9e5807432eb878552389a9cb2.tar.bz2 trygvisio_soil_moisture-2f50ae8864aa2ba9e5807432eb878552389a9cb2.tar.xz trygvisio_soil_moisture-2f50ae8864aa2ba9e5807432eb878552389a9cb2.zip |
o Reworking the code after implementing much more on the Android app.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -7,4 +7,7 @@ MONITOR_PORT ?= /dev/ttyACM0 ARDUINO_LIBS = BLE SPI ARDMK_DIR ?= /usr/share/arduino -include $(ARDMK_DIR)/Arduino.mk +-include $(ARDMK_DIR)/Arduino.mk + +$(ARDMK_DIR)/Arduino.mk: + @if [ ! -r $(ARDMK_DIR)/Arduino.mk ]; then echo "You need to install the arduino-mk package"; exit 1; fi |