summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2016-11-18 17:54:26 -0800
committerYann Collet <cyan@fb.com>2016-11-18 17:56:56 -0800
commit19df3029e234e4c48c31377c9ef5f7c940da5106 (patch)
tree3ee2bd09200f75f321b98a2ddc60f1aaa2343347 /Makefile
parent519932afaf5a1d85e5d39de4acebc0a6bc07b9e3 (diff)
downloadlz4-19df3029e234e4c48c31377c9ef5f7c940da5106.tar.gz
lz4-19df3029e234e4c48c31377c9ef5f7c940da5106.tar.bz2
lz4-19df3029e234e4c48c31377c9ef5f7c940da5106.zip
fixed #272 (compilation fails on gcc 4.4), reported by @totaam
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a97c4ed..25cedbc 100644
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ endif
.PHONY: default all lib lz4 clean test versionsTest examples
-default: lib lz4
+default: lib lz4-release
all:
@$(MAKE) -C $(LZ4DIR) $@
@@ -62,6 +62,10 @@ lib:
@$(MAKE) -C $(LZ4DIR)
lz4:
+ @$(MAKE) -C $(PRGDIR) $@
+ @cp $(PRGDIR)/lz4$(EXT) .
+
+lz4-release:
@$(MAKE) -C $(PRGDIR)
@cp $(PRGDIR)/lz4$(EXT) .