From 205c41cacec98f188eceb116c85aa96628d8b464 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Fri, 4 Aug 2017 17:19:51 +0900 Subject: A pass at cleaning up the install instructions and Makefile a bit --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3