summaryrefslogtreecommitdiffstats
path: root/examples/Makefile
diff options
context:
space:
mode:
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