esp-idf/examples/system/unit_test/components/testable/test/component.mk

8 lines
368 B
Makefile
Raw Normal View History

2018-10-25 08:31:35 -04:00
# 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