Update Makefile with OSX fixes and new paths

pull/365/head
Jesse Vincent 7 years ago
parent be10584f52
commit 77a3f9a611

@ -1,13 +1,14 @@
# This stub makefile for a Kaleidoscope plugin pulls in # This stub makefile for a Kaleidoscope plugin pulls in
# all targets from the Kaleidoscope-Plugin library # all targets from the Kaleidoscope-Plugin library
MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
UNAME_S := $(shell uname -s) UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)
BOARD_HARDWARE_PATH ?= $(HOME)/Documents/Arduino/hardware SKETCHBOOK_DIR ?= $(HOME)/Documents/Arduino/
else else
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware SKETCHBOOK_DIR ?= $(HOME)/Arduino
endif endif
include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/rules.mk BOARD_HARDWARE_PATH ?= $(SKETCHBOOK_DIR)/hardware
KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR ?= keyboardio/avr/build-tools/makefiles/
include $(BOARD_HARDWARE_PATH)/$(KALEIDOSCOPE_PLUGIN_MAKEFILE_DIR)/rules.mk

Loading…
Cancel
Save