summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Vincent <jesse@keyboard.io>2017-08-04 17:19:51 +0900
committerJesse Vincent <jesse@keyboard.io>2017-08-16 13:26:55 -0700
commit205c41cacec98f188eceb116c85aa96628d8b464 (patch)
tree6a39b8f950591686f0cbd286a912756dcebc8bc6 /Makefile
parent747d42dc923061f89b5438d0419c6a13ea980271 (diff)
downloadmodel01-firmware-205c41cacec98f188eceb116c85aa96628d8b464.tar.gz
model01-firmware-205c41cacec98f188eceb116c85aa96628d8b464.tar.bz2
model01-firmware-205c41cacec98f188eceb116c85aa96628d8b464.zip
A pass at cleaning up the install instructions and Makefile a bit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2b04143..4b749a6 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,10 @@ MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
-BOARD_HARDWARE_PATH ?= $(HOME)/Documents/Arduino/hardware
+SKETCHBOOK_DIR ?= $(HOME)/Documents/Arduino/
else
-BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
+SKETCHBOOK_DIR ?= $(HOME)/arduino
endif
+BOARD_HARDWARE_PATH ?= $(SKETCHBOOK_DIR)/hardware
include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/rules.mk