From b194ac1d9025940a672550c510c684a321296440 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 13 Nov 2020 12:32:37 +0000 Subject: [PATCH] Added include to override example for custom ui lv_conf.h --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dcc28bf..61f76f8 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,8 @@ CFLAGS := -O0 -g $(WARNINGS) # Add simulator define to allow modification of source DEFINES := -D SIMULATOR=1 -INC := -I./ -I./lvgl/ +# Include simulator inc folder first so lv_conf.h from custom UI can be used instead +INC := -I./ui/simulator/inc/ -I./ -I./lvgl/ LDFLAGS := -lSDL2 -lm BIN := $(BIN_DIR)/demo