summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 7ab641fc..70db9889 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -59,6 +59,8 @@ all: $(TEST_BINS) ${EXTRA_TARGET}
rbtest: $(BUILD_ROOT)/rollback_index_test
+cgptmanager_tests: $(BUILD_ROOT)/CgptManagerTests
+
${TEST_LIB}: ${TEST_LIB_OBJS}
rm -f $@
ar qc $@ $^
@@ -67,9 +69,9 @@ ${TEST_LIB}: ${TEST_LIB_OBJS}
${BUILD_ROOT}/CgptManagerTests.o: CgptManagerTests.cc
$(CXX) -DWITH_UTIL_MAIN $(CXXFLAGS) $(INCLUDES) -c $< -o $@
-CgptManagerTests: ${BUILD_ROOT}/CgptManagerTests.o ${LIBS}
+${BUILD_ROOT}/CgptManagerTests: ${BUILD_ROOT}/CgptManagerTests.o
$(CXX) $(CXXFLAGS) $(INCLUDES) $(LDFLAGS) -lgtest -lgflags $^ \
- ${BUILD}/cgpt/libcgpt-cc.a ${FWLIB} $(HOSTLIB) -lbase -lpthread -lrt -o ${BUILD_ROOT}/$@
+ ${BUILD}/cgpt/libcgpt-cc.a -lbase -lpthread -lrt -o $@
${BUILD_ROOT}/vboot_audio_for_test.o : $(FWDIR)/lib/vboot_audio.c
$(CC) $(CFLAGS) -DCUSTOM_MUSIC $(INCLUDES) \