summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--NEWS3
-rw-r--r--lib/Makefile2
3 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 863c866..2b2f269 100644
--- a/Makefile
+++ b/Makefile
@@ -58,12 +58,16 @@ VOID = /dev/null
endif
+.PHONY: default all lib lz4programs clean
+
default: lz4programs
-all:
- @cd $(LZ4DIR); $(MAKE) -e all
+all: lib
@cd $(PRGDIR); $(MAKE) -e all
+lib:
+ @cd $(LZ4DIR); $(MAKE) -e all
+
lz4programs:
@cd $(PRGDIR); $(MAKE) -e
diff --git a/NEWS b/NEWS
index 8347f63..b403d0f 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+r131
+Added : Example using lz4frame library, by Zbigniew Jędrzejewski-Szmek (#118)
+
r130:
Fixed : incompatibility sparse mode vs console, reported by Yongwoon Cho (#105)
Fixed : LZ4IO exits too early when frame crc not present, reported by Yongwoon Cho (#106)
diff --git a/lib/Makefile b/lib/Makefile
index 4be1499..05260ca 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -66,7 +66,7 @@ all: liblz4
liblz4: lz4.c lz4hc.c lz4frame.c xxhash.c
@echo compiling static library
- @$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^
+ @$(CC) $(CPPFLAGS) $(CFLAGS) -c $^
@$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o
@echo compiling dynamic library $(LIBVER)
@$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER)