aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVasil Zlatanov <v@skozl.com>2017-01-31 21:37:12 +0000
committerVasil Zlatanov <v@skozl.com>2017-01-31 21:37:12 +0000
commitb31b7d77ed0b787ac2b615beeeb6cb4339229538 (patch)
treeb6a6e2fa51cfbb976a3a8a79dc4a837064470b7b /Makefile
parent1d26021e8e50043c98d87ae1c2df514d03295a2c (diff)
downloade2-lifelarm-b31b7d77ed0b787ac2b615beeeb6cb4339229538.tar.gz
e2-lifelarm-b31b7d77ed0b787ac2b615beeeb6cb4339229538.tar.bz2
e2-lifelarm-b31b7d77ed0b787ac2b615beeeb6cb4339229538.zip
Adafruit reference and Makefile
Diffstat (limited to 'Makefile')
-rwxr-xr-x[-rw-r--r--]Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e69de29..18c0068 100644..100755
--- a/Makefile
+++ b/Makefile
@@ -0,0 +1,8 @@
+mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
+current_dir := $(notdir $(patsubst %/,%,$(dir $(mkfile_path))))
+all:
+ arduino --board adafruit:avr:feather32u4 --pref build.path=$(pwd)/build --verify $(pwd)/main.ino
+clean:
+ rm -rf build
+upload:
+ arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload $(pwd)/main.ino