|
|
@ -19,13 +19,13 @@ endif
|
|
|
|
# the hardware directory can be determined in relation to the position of
|
|
|
|
# the hardware directory can be determined in relation to the position of
|
|
|
|
# this Makefile.
|
|
|
|
# this Makefile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KALEIDOSCOPE_ETC_DIR ?= $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/libraries/Kaleidoscope/etc/
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ("$(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk","")
|
|
|
|
ifeq ("$(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk","")
|
|
|
|
# Determine the path of this Makefile
|
|
|
|
# Determine the path of this Makefile
|
|
|
|
MKFILE_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
|
KALEIDOSCOPE_ETC_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/etc
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
KALEIDOSCOPE_ETC_DIR ?= $(ARDUINO_DIRECTORIES_USER)/hardware/keyboardio/avr/libraries/Kaleidoscope/etc/
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
include $(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk
|
|
|
|
include $(KALEIDOSCOPE_ETC_DIR)/sketch-arduino-cli.mk
|
|
|
|
|
|
|
|
|
|
|
@ -37,8 +37,6 @@ ifneq ($(TEST_PATH),)
|
|
|
|
TEST_PATH_ARG="TEST_PATH='$(TEST_PATH)'"
|
|
|
|
TEST_PATH_ARG="TEST_PATH='$(TEST_PATH)'"
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
clean:
|
|
|
|
$(MAKE) -C tests clean
|
|
|
|
$(MAKE) -C tests clean
|
|
|
|
rm -rf testing/googletest/build/*
|
|
|
|
rm -rf testing/googletest/build/*
|
|
|
|