parent
cc354a7069
commit
235162fb02
@ -1,11 +1,16 @@
|
||||
# This stub makefile for a Kaleidoscope plugin pulls in
|
||||
# all targets from the Kaleidoscope-Plugin library
|
||||
|
||||
MAKEFILE_PREFIX=keyboardio/avr/libraries/Kaleidoscope-Plugin/build
|
||||
UNAME_S := $(shell uname -s)
|
||||
|
||||
ifneq ($(wildcard $(shell pwd)/hardware/$(MAKEFILE_PREFIX)), "" )
|
||||
BOARD_HARDWARE_PATH=$(shell pwd)/hardware
|
||||
endif
|
||||
|
||||
BOARD_HARDWARE_PATH ?= $(HOME)/Arduino/hardware
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
BOARD_HARDWARE_PATH ?= $(HOME)/Library/Arduino/hardware
|
||||
endif
|
||||
|
||||
include $(BOARD_HARDWARE_PATH)/keyboardio/avr/libraries/Kaleidoscope-Plugin/build/*.mk
|
||||
include $(BOARD_HARDWARE_PATH)/$(MAKEFILE_PREFIX)/*.mk
|
||||
|
Loading…
Reference in new issue