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-11-11 06:17:53 +00:00
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
2020-09-30 23:05:04 +00:00
|
|
|
|
2020-10-07 09:37:43 +00:00
|
|
|
CFLAGS += -Itargets/include
|
|
|
|
ASM_SOURCES += $(wildcard src/*.s)
|
|
|
|
C_SOURCES += $(wildcard src/*.c)
|
|
|
|
CPP_SOURCES += $(wildcard src/*.cpp)
|
2020-09-30 23:05:04 +00:00
|
|
|
|
2021-02-18 12:49:32 +00:00
|
|
|
TARGET ?= f5
|
2020-09-30 23:05:04 +00:00
|
|
|
TARGET_DIR = targets/$(TARGET)
|
|
|
|
include $(TARGET_DIR)/target.mk
|
|
|
|
|
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
|