diff --git a/unit_tests/Makefile b/unit_tests/Makefile index 96b9d5b552..903e1c89a1 100644 --- a/unit_tests/Makefile +++ b/unit_tests/Makefile @@ -14,6 +14,7 @@ endif PROJECT_DIR = ../firmware +include $(PROJECT_DIR)/rusefi_rules.mk # Compiler options here. ifeq ($(USE_OPT),) @@ -27,6 +28,11 @@ ifeq ($(USE_OPT),) USE_OPT += -Werror=missing-field-initializers endif + +#TODO! this is a nice goal +#USE_OPT += $(RUSEFI_OPT) +#USE_OPT += -Wno-error=format= -Wno-error=register -Wno-error=write-strings + ifeq ($(CCACHE_DIR),) $(info No CCACHE_DIR) else