summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--examples/Makefile2
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce5e9fc..863c866 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,7 @@ versionstest: clean
streaming-examples:
cd lib; $(MAKE) -e
+ cd programs; $(MAKE) -e lz4
cd examples; $(MAKE) -e test
prg-travis:
diff --git a/examples/Makefile b/examples/Makefile
index 5d8bb0f..b7f6eca 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -33,6 +33,7 @@ FLAGS := -I../lib $(CPPFLAGS) $(CFLAGS) $(LDFLAGS)
TESTFILE= Makefile
LZ4DIR := ../lib
+LZ4 = ../programs/lz4
# Define *.exe as extension for Windows systems
@@ -74,6 +75,7 @@ test : all
./ringBufferHC$(EXT) $(TESTFILE)
./lineCompress$(EXT) $(TESTFILE)
LD_LIBRARY_PATH=$(LZ4DIR) ./frameCompress$(EXT) $(TESTFILE)
+ $(LZ4) -vt $(TESTFILE).lz4
clean:
@rm -f core *.o *.dec *-0 *-9 *-8192 *.lz4s \