summaryrefslogtreecommitdiffstats
path: root/examples/Makefile
diff options
context:
space:
mode:
authorKyleJHarper <KyleJHarper@gmail.com>2015-10-22 08:57:21 (GMT)
committerKyleJHarper <KyleJHarper@gmail.com>2015-10-22 08:57:21 (GMT)
commit73dd936b9d1d07500be998606781561e956e0be6 (patch)
tree4e31e5ad2d7fd88e66e1540f7c0fdd5fffcdadd8 /examples/Makefile
parentd86dc916771c126afb797637dda9f6421c0cb998 (diff)
downloadlz4-73dd936b9d1d07500be998606781561e956e0be6.zip
lz4-73dd936b9d1d07500be998606781561e956e0be6.tar.gz
lz4-73dd936b9d1d07500be998606781561e956e0be6.tar.bz2
Wrote the skeleton of the performance test. Need to finish tests for the rest of the call stack and then my own copy of generic().
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 069f7d9..e00bb58 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -68,6 +68,9 @@ lineCompress: $(LZ4DIR)/lz4.c blockStreaming_lineByLine.c
frameCompress: frameCompress.c
$(CC) $(FLAGS) $^ -o $@$(EXT) -L$(LZ4DIR) -llz4
+argPerformanceTesting: $(LZ4DIR)/lz4.c argPerformanceTesting.c
+ $(CC) $(FLAGS) $^ -o $@$(EXT) -lrt
+
test : all
./printVersion$(EXT)
./doubleBuffer$(EXT) $(TESTFILE)
@@ -80,6 +83,6 @@ test : all
clean:
@rm -f core *.o *.dec *-0 *-9 *-8192 *.lz4s *.lz4 \
printVersion$(EXT) doubleBuffer$(EXT) ringBuffer$(EXT) ringBufferHC$(EXT) \
- lineCompress$(EXT) frameCompress$(EXT)
+ lineCompress$(EXT) frameCompress$(EXT) argPerformanceTesting$(EXT)
@echo Cleaning completed