diff --git a/build/VS2008/fullbench/fullbench.vcproj b/build/VS2008/fullbench/fullbench.vcproj index 8fe4f109c..0734219b4 100644 --- a/build/VS2008/fullbench/fullbench.vcproj +++ b/build/VS2008/fullbench/fullbench.vcproj @@ -364,14 +364,6 @@ RelativePath="..\..\..\lib\decompress\huf_decompress.c" > - - - - @@ -426,10 +418,6 @@ RelativePath="..\..\..\lib\common\mem.h" > - - diff --git a/build/VS2008/fuzzer/fuzzer.vcproj b/build/VS2008/fuzzer/fuzzer.vcproj index 3644b8c75..311b79909 100644 --- a/build/VS2008/fuzzer/fuzzer.vcproj +++ b/build/VS2008/fuzzer/fuzzer.vcproj @@ -430,10 +430,6 @@ RelativePath="..\..\..\lib\common\xxhash.h" > - - diff --git a/build/VS2008/zstd/zstd.vcproj b/build/VS2008/zstd/zstd.vcproj index 1d51f51cf..ad64f8696 100644 --- a/build/VS2008/zstd/zstd.vcproj +++ b/build/VS2008/zstd/zstd.vcproj @@ -380,14 +380,6 @@ RelativePath="..\..\..\lib\common\xxhash.c" > - - - - @@ -482,14 +474,6 @@ RelativePath="..\..\..\lib\common\xxhash.h" > - - - - diff --git a/build/VS2008/zstdlib/zstdlib.vcproj b/build/VS2008/zstdlib/zstdlib.vcproj index 9c61e9494..b1c103e32 100644 --- a/build/VS2008/zstdlib/zstdlib.vcproj +++ b/build/VS2008/zstdlib/zstdlib.vcproj @@ -360,14 +360,6 @@ RelativePath="..\..\..\lib\common\xxhash.c" > - - - - @@ -458,14 +450,6 @@ RelativePath="..\..\..\lib\common\xxhash.h" > - - - - diff --git a/lib/Makefile b/lib/Makefile index 681c048c6..8f316aa68 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,7 +31,10 @@ CFLAGS += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 \ FLAGS = $(CPPFLAGS) $(CFLAGS) $(MOREFLAGS) -ZSTD_FILES := common/*.c compress/*.c decompress/*.c dictBuilder/*.c +ZSTD_FILES := $(wildcard common/*.c compress/*.c decompress/*.c dictBuilder/*.c) +ZSTD_EXCLUDE := compress/zbuff_compress.c decompress/zbuff_decompress.c +ZSTD_FILES := $(filter-out $(ZSTD_EXCLUDE), $(ZSTD_FILES)) + ifeq ($(ZSTD_LEGACY_SUPPORT), 0) CPPFLAGS += -DZSTD_LEGACY_SUPPORT=0