]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
generalized pattern rules
authorYann Collet <cyan@fb.com>
Wed, 29 Apr 2020 01:43:55 +0000 (18:43 -0700)
committerYann Collet <cyan@fb.com>
Wed, 29 Apr 2020 01:43:55 +0000 (18:43 -0700)
lib/Makefile

index 7a05b158d99aa224c51b1fa396d903c6a9ea25c0..ac38867a93134687c0af80b6e5b49048063e38ef 100644 (file)
@@ -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