Skip to content

Commit

Permalink
Download LZ4 source files from github.com
Browse files Browse the repository at this point in the history
  • Loading branch information
ymmt2005 committed Nov 18, 2015
1 parent a4a941b commit 26bf445
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ all: lib $(EXE)
lib: $(LIB)

# LZ4 is optional. Run "make lz4; make" to build LZ4 enabled library.
LZ4_TAG = r127
WGET = wget -q -P lz4/lib
lz4:
svn checkout -r 127 http://lz4.googlecode.com/svn/trunk/ lz4
mkdir -p lz4/lib
$(WGET) https://raw.githubusercontent.com/Cyan4973/lz4/$(LZ4_TAG)/lib/lz4.c
$(WGET) https://raw.githubusercontent.com/Cyan4973/lz4/$(LZ4_TAG)/lib/lz4.h

ifeq ($(wildcard lz4), lz4)
$(info LZ4 transparent compression is *enabled*)
Expand Down

0 comments on commit 26bf445

Please sign in to comment.