release builds use less debug symbols and warnings
release build are triggered through either `make`, or their specific target `make zstd-release` and `make lib-release`.
This commit is contained in:
@@ -23,7 +23,7 @@ EXT =
|
||||
endif
|
||||
|
||||
.PHONY: default
|
||||
default: lib zstd
|
||||
default: lib zstd-release
|
||||
|
||||
.PHONY: all
|
||||
all: allmost
|
||||
@@ -50,6 +50,11 @@ zstd:
|
||||
@$(MAKE) -C $(PRGDIR) $@
|
||||
cp $(PRGDIR)/zstd$(EXT) .
|
||||
|
||||
.PHONY: zstd-release
|
||||
zstd-release:
|
||||
@$(MAKE) -C $(PRGDIR)
|
||||
cp $(PRGDIR)/zstd$(EXT) .
|
||||
|
||||
.PHONY: zstdmt
|
||||
zstdmt:
|
||||
@$(MAKE) -C $(PRGDIR) $@
|
||||
|
||||
Reference in New Issue
Block a user