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:
Yann Collet
2017-02-02 20:54:41 -08:00
parent c3cba9d858
commit c2a4632789
3 changed files with 24 additions and 13 deletions
+6 -1
View File
@@ -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) $@