From: Yann Collet Date: Wed, 29 Apr 2020 01:43:55 +0000 (-0700) Subject: generalized pattern rules X-Git-Tag: v1.4.5^2~54^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77fd5ced0042bcccdb68f387c725e3ee142589c;p=thirdparty%2Fzstd.git generalized pattern rules --- diff --git a/lib/Makefile b/lib/Makefile index 7a05b158d..ac38867a9 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -181,16 +181,13 @@ lib : libzstd.a libzstd %-mt : CPPFLAGS += -DZSTD_MULTITHREAD %-mt : LDFLAGS += -pthread - -libzstd-mt : libzstd - -libzstd.a-mt: libzstd.a - -lib-mt : lib +%-mt : % + @echo multi-threading build completed %-release : DEBUGFLAGS := -lib-release: lib -lib-mt-release : lib-mt +%-release : % + @echo release build completed + # Special case : building library in single-thread mode _and_ without zstdmt_compress.c ZSTDMT_FILES = compress/zstdmt_compress.c