aboutsummaryrefslogtreecommitdiffstats
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-04 17:19:51 +0900
commit4815225c9aa7eb8bcc81398afe7de161ef6857a9 (patch)
tree477146842d87addef3b9df17d7bf27d1de013722 /Makefile
parentc273d3f9ce7cad9242316ca696bb454f0266dc9d (diff)
downloadModel01-Firmware-4815225c9aa7eb8bcc81398afe7de161ef6857a9.tar.gz
Model01-Firmware-4815225c9aa7eb8bcc81398afe7de161ef6857a9.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