From 06914188f5c6331998b1b37645d8576f4f6b2d9c Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 7 Apr 2021 18:40:25 +0200 Subject: Makefile: Add each plugins directory to ARDUINO_LIBS. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d4095d6..604deb7 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,9 @@ LOCAL_CPP_SRCS = $(wildcard $(SOURCEDIR)/*.cpp) LOCAL_INO_SRCS = $(wildcard $(SOURCEDIR)/*.ino) USER_LIB_PATH = $(ALTERNATE_CORE_PATH)/libraries -ARDUINO_LIBS = EEPROM Kaleidoscope KeyboardioHID KeyboardioScanner +KALEIDOSCOPE_PLUGINS = $(notdir $(wildcard $(USER_LIB_PATH)/Kaleidoscope/plugins/Kaleidoscope-*)) +ARDUINO_LIBS = EEPROM Kaleidoscope KeyboardioHID KeyboardioScanner \ + $(addprefix Kaleidoscope/plugins/,$(KALEIDOSCOPE_PLUGINS)) # extra definitions from boards.txt CXXFLAGS = -DARDUINO_AVR_MODEL01 \ -- cgit v1.2.3