generalized pattern rules
This commit is contained in:
parent
c6ae2e83bc
commit
f77fd5ced0
13
lib/Makefile
13
lib/Makefile
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user