2020-10-07 09:37:43 +00:00
|
|
|
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
2020-09-30 23:05:04 +00:00
|
|
|
PROJECT = bootloader
|
|
|
|
|
2020-10-07 09:37:43 +00:00
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
2020-09-30 23:05:04 +00:00
|
|
|
|
2022-01-05 16:10:18 +00:00
|
|
|
CFLAGS += -I$(PROJECT_ROOT) -Itargets/furi_hal_include
|
2020-10-07 09:37:43 +00:00
|
|
|
ASM_SOURCES += $(wildcard src/*.s)
|
|
|
|
C_SOURCES += $(wildcard src/*.c)
|
|
|
|
CPP_SOURCES += $(wildcard src/*.cpp)
|
2020-09-30 23:05:04 +00:00
|
|
|
|
2021-11-18 08:46:47 +00:00
|
|
|
include $(PROJECT_ROOT)/make/defaults.mk
|
2020-09-30 23:05:04 +00:00
|
|
|
TARGET_DIR = targets/$(TARGET)
|
|
|
|
include $(TARGET_DIR)/target.mk
|
|
|
|
|
2021-08-12 08:48:05 +00:00
|
|
|
LIB_DIR = $(PROJECT_ROOT)/lib
|
|
|
|
|
|
|
|
# U8G2 display library
|
|
|
|
U8G2_DIR = $(LIB_DIR)/u8g2
|
|
|
|
CFLAGS += -I$(U8G2_DIR)
|
2021-10-17 20:34:36 +00:00
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_glue.c
|
2021-08-12 08:48:05 +00:00
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_intersection.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_setup.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_d_memory.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8x8_cad.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8x8_byte.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8x8_gpio.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8x8_display.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8x8_setup.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_hvline.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_line.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_ll_hvline.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_circle.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_box.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_buffer.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_font.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_fonts.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8x8_8x8.c
|
|
|
|
C_SOURCES += $(U8G2_DIR)/u8g2_bitmap.c
|
|
|
|
|
|
|
|
|
2020-11-06 09:31:06 +00:00
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
2020-10-07 09:37:43 +00:00
|
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
|
|
include $(PROJECT_ROOT)/make/rules.mk
|