2020-10-07 12:37:43 +03:00
|
|
|
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
|
|
|
PROJECT = firmware
|
|
|
|
|
2020-10-29 10:58:19 +03:00
|
|
|
CFLAGS += -Werror
|
|
|
|
CPPFLAGS += -Werror
|
|
|
|
|
2020-10-07 12:37:43 +03:00
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
2020-10-26 20:00:17 +03:00
|
|
|
include $(PROJECT_ROOT)/assets/assets.mk
|
2020-10-07 12:37:43 +03:00
|
|
|
include $(PROJECT_ROOT)/core/core.mk
|
2020-11-11 09:17:53 +03:00
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
2020-10-07 12:37:43 +03:00
|
|
|
include $(PROJECT_ROOT)/applications/applications.mk
|
2020-10-20 15:25:01 +03:00
|
|
|
include $(PROJECT_ROOT)/lib/lib.mk
|
2020-10-07 12:37:43 +03:00
|
|
|
|
|
|
|
TARGET ?= f2
|
|
|
|
TARGET_DIR = targets/$(TARGET)
|
|
|
|
include $(TARGET_DIR)/target.mk
|
2020-11-25 10:25:13 +03:00
|
|
|
CFLAGS += -Itargets/api-hal-include
|
2020-10-07 12:37:43 +03:00
|
|
|
|
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
|