Update Makefile to fix OS X build

pull/389/head
Jesse Vincent 7 years ago
parent e5f9929ed0
commit 997b3a58e0
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -4,9 +4,10 @@
MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)
BOARD_HARDWARE_PATH ?= $(HOME)/Library/Arduino/hardware BOARD_HARDWARE_PATH ?= $(HOME)/Documents/Arduino/hardware
else
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
endif endif
include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/*.mk include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/rules.mk

Loading…
Cancel
Save