mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-25 22:32:29 +03:00
2ab6f82ddf
* Makefile: build flags as a target. * Makefile: proper BUILD_FLAGS generation routine Co-authored-by: Aleksandr Kutuzov <aku@plooks.com>
15 lines
435 B
Makefile
15 lines
435 B
Makefile
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
|
PROJECT = firmware
|
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
|
include $(PROJECT_ROOT)/core/core.mk
|
|
include $(PROJECT_ROOT)/lib/lib.mk
|
|
include $(PROJECT_ROOT)/applications/applications.mk
|
|
|
|
TARGET ?= f2
|
|
TARGET_DIR = targets/$(TARGET)
|
|
include $(TARGET_DIR)/target.mk
|
|
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
include $(PROJECT_ROOT)/make/rules.mk
|