mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-24 05:23:06 +00:00
3671c68b79
* Makefile: enable space optimization with debug, cleanup double includes, explicitly define cpp runtime options * Toolchain: add printf support * Toolchain: explicit standard declaration
17 lines
483 B
Makefile
17 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 ?= f5
|
|
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
|