2020-10-07 12:37:43 +03:00
|
|
|
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
2020-10-01 02:05:04 +03:00
|
|
|
PROJECT = bootloader
|
|
|
|
|
2020-10-07 12:37:43 +03:00
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
2020-10-01 02:05:04 +03:00
|
|
|
|
2020-10-07 12:37:43 +03:00
|
|
|
CFLAGS += -Itargets/include
|
|
|
|
ASM_SOURCES += $(wildcard src/*.s)
|
|
|
|
C_SOURCES += $(wildcard src/*.c)
|
|
|
|
CPP_SOURCES += $(wildcard src/*.cpp)
|
2020-10-01 02:05:04 +03:00
|
|
|
|
2021-02-18 15:49:32 +03:00
|
|
|
TARGET ?= f5
|
2020-10-01 02:05:04 +03:00
|
|
|
TARGET_DIR = targets/$(TARGET)
|
|
|
|
include $(TARGET_DIR)/target.mk
|
|
|
|
|
2020-11-06 12:31:06 +03:00
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
2020-10-07 12:37:43 +03:00
|
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
|
|
include $(PROJECT_ROOT)/make/rules.mk
|