8116bfcbab
* Assets: move assets compilation to separate Makefile. Move all scripts to scripts folder. Add scripts ReadMe. Add precompiled assets. * Split assets.py into separate entities. Option bytes for FL-1289 and checker/setter. * Cli: explicitly initialize variable befor use in api_hal_vcp_rx_with_timeout * Rename ob_check script to ob.
18 lines
483 B
Makefile
18 lines
483 B
Makefile
PROJECT_ROOT = $(abspath $(dir $(abspath $(firstword $(MAKEFILE_LIST))))..)
|
|
PROJECT = bootloader
|
|
|
|
include $(PROJECT_ROOT)/make/base.mk
|
|
|
|
CFLAGS += -Itargets/include
|
|
ASM_SOURCES += $(wildcard src/*.s)
|
|
C_SOURCES += $(wildcard src/*.c)
|
|
CPP_SOURCES += $(wildcard src/*.cpp)
|
|
|
|
TARGET ?= f6
|
|
TARGET_DIR = targets/$(TARGET)
|
|
include $(TARGET_DIR)/target.mk
|
|
|
|
include $(PROJECT_ROOT)/make/git.mk
|
|
include $(PROJECT_ROOT)/make/toolchain.mk
|
|
include $(PROJECT_ROOT)/make/rules.mk
|