diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-28 10:54:19 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-02-28 10:54:19 +0100 |
commit | c78be523bbcdc802929ce8f6fb119836dcbf99d5 (patch) | |
tree | aeca6ed144a074f95ba91045824aec61949e773f /Makefile | |
parent | ecdaa9c8112746ea2c843523358db253600b1074 (diff) | |
download | trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.tar.gz trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.tar.bz2 trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.tar.xz trygvisio_soil_moisture-c78be523bbcdc802929ce8f6fb119836dcbf99d5.zip |
o Creating a way to configure the code for multiple boards. Look at config.h
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -6,8 +6,13 @@ MONITOR_PORT ?= /dev/ttyACM0 ARDUINO_LIBS = BLE SPI EEPROM +ifdef CONFIG_MK +include $(CONFIG_MK) +endif + ARDMK_DIR ?= /usr/share/arduino -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 + @if [ ! -r $(ARDMK_DIR)/Arduino.mk ]; then echo "You need to install the arduino-mk package"; fi + @false |