From 5e389b2ad0f7c48977d8dc554cd76fb67bd10304 Mon Sep 17 00:00:00 2001 From: Charles-Edouard de la Vergne Date: Fri, 26 Apr 2024 09:51:38 +0200 Subject: [PATCH] Add wildcard to include all files from plugin-sdk except main.c --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 27efdf700f..3dc5ed3c5f 100644 --- a/Makefile +++ b/Makefile @@ -48,8 +48,7 @@ ifeq ($(TARGET_NAME),TARGET_STAX) else APP_SOURCE_PATH += src_bagl endif -APP_SOURCE_FILES += ./ethereum-plugin-sdk/src/common_utils.c -APP_SOURCE_FILES += ./ethereum-plugin-sdk/src/plugin_utils.c +APP_SOURCE_FILES += $(filter-out ./ethereum-plugin-sdk/src/main.c, $(wildcard ./ethereum-plugin-sdk/src/*.c)) INCLUDES_PATH += ./ethereum-plugin-sdk/src APP_SOURCE_FILES += ${BOLOS_SDK}/lib_standard_app/crypto_helpers.c APP_SOURCE_FILES += ${BOLOS_SDK}/lib_standard_app/format.c