unleashed-firmware/firmware/Makefile

24 lines
663 B
Makefile
Raw Normal View History

PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
PROJECT = firmware
include $(PROJECT_ROOT)/make/base.mk
include $(PROJECT_ROOT)/assets/assets.mk
include $(PROJECT_ROOT)/core/core.mk
include $(PROJECT_ROOT)/make/git.mk
include $(PROJECT_ROOT)/applications/applications.mk
2020-10-20 12:25:01 +00:00
include $(PROJECT_ROOT)/lib/lib.mk
2021-02-16 10:46:58 +00:00
CFLAGS += -Werror -Wno-address-of-packed-member
CPPFLAGS += -Werror
TARGET ?= f4
TARGET_DIR = targets/$(TARGET)
include $(TARGET_DIR)/target.mk
CFLAGS += -Itargets/api-hal-include
include $(PROJECT_ROOT)/make/git.mk
include $(PROJECT_ROOT)/make/toolchain.mk
include $(PROJECT_ROOT)/make/rules.mk