aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 18c0068..b831f77 100755
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-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
+ arduino --board adafruit:avr:feather32u4 --pref build.path=./build --verify ./main.ino
clean:
- rm -rf build
+ rm -rf ./build
upload:
- arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload $(pwd)/main.ino
+ arduino --board adafruit:avr:feather32u4 --port /dev/ttyACM0 --upload ./main.ino