]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Compile CLI using files instead of objs 663/head
authorSean Purcell <me@seanp.xyz>
Tue, 18 Apr 2017 00:13:44 +0000 (17:13 -0700)
committerSean Purcell <me@seanp.xyz>
Tue, 18 Apr 2017 00:13:47 +0000 (17:13 -0700)
This avoids conflicts between how the library was
configured and how the CLI was configured.

programs/Makefile

index aca4426443027c319a0aa44dc506b609b86b6e24..f3140a19c31943e1fc830f0cc9529113467b5bd3 100644 (file)
@@ -136,7 +136,7 @@ zstd-nogz : LZMA_MSG := $(NO_LZMA_MSG)
 xzstd : CPPFLAGS += $(ZLIBCPP) $(LZMACPP)
 xzstd : LDFLAGS += $(ZLIBLD) $(LZMALD)
 zstd zstd-nogz xzstd : CPPFLAGS += -DZSTD_LEGACY_SUPPORT=$(ZSTD_LEGACY_SUPPORT)
-zstd zstd-nogz xzstd : $(ZSTDLIB_OBJ) zstdcli.o fileio.o bench.o datagen.o dibio.o
+zstd zstd-nogz xzstd : $(ZSTDLIB_FILES) zstdcli.o fileio.o bench.o datagen.o dibio.o
        @echo "$(THREAD_MSG)"
        @echo "$(ZLIB_MSG)"
        @echo "$(LZMA_MSG)"