OVMS3-idf/examples/system/unit_test/components/testable/test/component.mk
2018-11-19 12:36:31 +08:00

7 lines
368 B
Makefile

# This is the minimal test component makefile.
#
# The following line is needed to force the linker to include all the object
# files into the application, even if the functions in these object files
# are not referenced from outside (which is usually the case for unit tests).
#
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive