Makefile 625 B

12345678910111213141516171819202122
  1. PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
  2. PROJECT = firmware
  3. include $(PROJECT_ROOT)/make/base.mk
  4. include $(PROJECT_ROOT)/assets/assets.mk
  5. include $(PROJECT_ROOT)/core/core.mk
  6. include $(PROJECT_ROOT)/applications/applications.mk
  7. include $(PROJECT_ROOT)/lib/lib.mk
  8. CFLAGS += -Werror -Wno-address-of-packed-member
  9. CPPFLAGS += -Werror
  10. TARGET ?= f5
  11. TARGET_DIR = targets/$(TARGET)
  12. include $(TARGET_DIR)/target.mk
  13. CFLAGS += -Itargets/api-hal-include
  14. include $(PROJECT_ROOT)/make/git.mk
  15. include $(PROJECT_ROOT)/make/toolchain.mk
  16. include $(PROJECT_ROOT)/make/rules.mk