]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
[linux-kernel] Update tests Makefile 704/head
authorNick Terrell <terrelln@fb.com>
Wed, 17 May 2017 21:56:37 +0000 (14:56 -0700)
committerNick Terrell <terrelln@fb.com>
Wed, 17 May 2017 21:56:37 +0000 (14:56 -0700)
contrib/linux-kernel/test/Makefile

index 0aa6d81734ea3e62e9b37ea30f2300d77c3fe1b7..e33a256a4c08ac75293464f21fc16e24cd965604 100644 (file)
@@ -12,15 +12,9 @@ CPPFLAGS += $(IFLAGS)
 ../lib/zstd/libzstd.a: $(OBJECTS)
        $(AR) $(ARFLAGS) $@ $^
 
-UserlandTest: UserlandTest.cpp ../lib/zstd/libzstd.a
+UserlandTest: UserlandTest.cpp ../lib/zstd/libzstd.a ../lib/xxhash.o
        $(CXX) $(CXXFLAGS) $(CFLAGS) $(CPPFLAGS) $^ googletest/build/googlemock/gtest/libgtest.a googletest/build/googlemock/gtest/libgtest_main.a -o $@
 
-../lib/zstd/xxhash.o: ../lib/zstd/xxhash.c
-       $(CC) $(CFLAGS) -c $^ -o $@
-
-../../../lib/common/xxhash.o: ../../../lib/common/xxhash.c
-       $(CC) $(CFLAGS) -c $^ -o $@
-
 XXHashUserlandTest: XXHashUserlandTest.cpp ../lib/xxhash.o ../../../lib/common/xxhash.o
        $(CXX) $(CXXFLAGS) $(CFLAGS) $(CPPFLAGS) $^ googletest/build/googlemock/gtest/libgtest.a googletest/build/googlemock/gtest/libgtest_main.a -o $@