generalized pattern rules

This commit is contained in:
Yann Collet 2020-04-28 18:43:55 -07:00
parent c6ae2e83bc
commit f77fd5ced0

View File

@ -181,16 +181,13 @@ lib : libzstd.a libzstd
%-mt : CPPFLAGS += -DZSTD_MULTITHREAD %-mt : CPPFLAGS += -DZSTD_MULTITHREAD
%-mt : LDFLAGS += -pthread %-mt : LDFLAGS += -pthread
%-mt : %
libzstd-mt : libzstd @echo multi-threading build completed
libzstd.a-mt: libzstd.a
lib-mt : lib
%-release : DEBUGFLAGS := %-release : DEBUGFLAGS :=
lib-release: lib %-release : %
lib-mt-release : lib-mt @echo release build completed
# Special case : building library in single-thread mode _and_ without zstdmt_compress.c # Special case : building library in single-thread mode _and_ without zstdmt_compress.c
ZSTDMT_FILES = compress/zstdmt_compress.c ZSTDMT_FILES = compress/zstdmt_compress.c