cleaning up the build

This commit is contained in:
Attila Body 2019-12-16 11:20:59 +01:00
parent f714f6cd50
commit 24552e91a4
6 changed files with 20 additions and 40 deletions

View file

@ -7,9 +7,7 @@ $(eval C_SOURCES += $(wildcard $(REL_DIR)/platform/*.c))
$(eval COMMON_INCLUDES += -I$(REL_DIR) -I$(REL_DIR)/gtest_i386/include)
$(eval LIBDIR += -L$(REL_DIR)/gtest_i386/lib)
$(eval LIBS += -lgtest -lgtest_main -lpthread)
$(eval COMPONENT_DEPS += gtest_build)
gtest_build: | $(REL_DIR)/gtest_i386
$(eval COMPONENT_DEPS += $(REL_DIR)/gtest_i386)
$(REL_DIR)/gtest_i386:
$(REL_DIR)/build-googletest.sh gtest_i386