Fixed:1.Fix emulator compilation failure issue
This commit is contained in:
parent
8c5e36b4ec
commit
e0a9675452
7
Makefile
7
Makefile
|
@ -26,11 +26,12 @@ WARNINGS := -Wall -Wextra \
|
||||||
CFLAGS := -O0 -g $(WARNINGS)
|
CFLAGS := -O0 -g $(WARNINGS)
|
||||||
|
|
||||||
# Add simulator define to allow modification of source
|
# Add simulator define to allow modification of source
|
||||||
DEFINES := -D SIMULATOR=1 -D LV_BUILD_TEST=0
|
DEFINES := -D SIMULATOR=1 -D LV_BUILD_TEST=0 -D USE_SDL -DLV_CONF_INCLUDE_SIMPLE -DLV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
|
||||||
# Include simulator inc folder first so lv_conf.h from custom UI can be used instead
|
# Include simulator inc folder first so lv_conf.h from custom UI can be used instead
|
||||||
INC := -I./ui/simulator/inc/ -I./ -I./lvgl/
|
INC := -I./simulator/inc/ -I./lvgl/ -I ./lvgl/src/extra/libs/sjpg/ -I./lv_drivers/ -I./inc
|
||||||
LDLIBS := -lSDL2 -lm
|
INC += -I./freetype/inc/ -I./freetype/inc/freetype/
|
||||||
|
LDLIBS := -lSDL2 -lpthread -lm -lfreetype
|
||||||
BIN := $(BIN_DIR)/demo
|
BIN := $(BIN_DIR)/demo
|
||||||
|
|
||||||
COMPILE = $(CC) $(CFLAGS) $(INC) $(DEFINES)
|
COMPILE = $(CC) $(CFLAGS) $(INC) $(DEFINES)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user