mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
fixed default rule for lib/Makefile
default rule is `lib-release` `lib-release` wasn't working : it was just skipped. Removing `lib-release` from the list of .PHONY targets fixes it. Same for `lib-mt`.
This commit is contained in:
parent
9eb2ccc9fb
commit
39a32f40c9
1 changed files with 3 additions and 2 deletions
|
|
@ -220,13 +220,14 @@ libzstd : $(LIBZSTD)
|
|||
.PHONY: lib
|
||||
lib : libzstd.a libzstd
|
||||
|
||||
.PHONY: lib-mt
|
||||
# note : do not define lib-mt or lib-release as .PHONY
|
||||
# make does not consider implicit pattern rule for .PHONY target
|
||||
|
||||
%-mt : CPPFLAGS += -DZSTD_MULTITHREAD
|
||||
%-mt : LDFLAGS += -pthread
|
||||
%-mt : %
|
||||
@echo multi-threading build completed
|
||||
|
||||
.PHONY: lib-release
|
||||
%-release : DEBUGFLAGS :=
|
||||
%-release : %
|
||||
@echo release build completed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue