summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-09 14:19:29 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-09 14:19:29 (GMT)
commitca80a7c8f77f5405cba5b8a52abb1dda78602bf7 (patch)
treedf9a1e400bd591cc8f7572fef2bc995d33c003e0 /tests/Makefile
parent67fd5dffd9769a3d7fe8436bd79e05df7afd7b05 (diff)
downloadlz4-ca80a7c8f77f5405cba5b8a52abb1dda78602bf7.zip
lz4-ca80a7c8f77f5405cba5b8a52abb1dda78602bf7.tar.gz
lz4-ca80a7c8f77f5405cba5b8a52abb1dda78602bf7.tar.bz2
create DLL with MinGW/MSYS
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index d5f9133..586e8f6 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -85,6 +85,14 @@ fullbench : $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/lz4frame.o $(LZ4DIR)/xx
fullbench32: $(LZ4DIR)/lz4.c $(LZ4DIR)/lz4hc.c $(LZ4DIR)/lz4frame.c $(LZ4DIR)/xxhash.c fullbench.c
$(CC) -m32 $(FLAGS) $^ -o $@$(EXT)
+fullbench-lib: fullbench.c $(LZ4DIR)/xxhash.c
+ $(MAKE) -C $(LZ4DIR) liblz4.a
+ $(CC) $(FLAGS) $^ -o $@$(EXT) $(LZ4DIR)/liblz4.a
+
+fullbench-dll: fullbench.c $(LZ4DIR)/xxhash.c
+ $(MAKE) -C $(LZ4DIR) liblz4
+ $(CC) $(FLAGS) $^ -o $@$(EXT) $(LZ4DIR)/liblz4.dll.a
+
fuzzer : $(LZ4DIR)/lz4.o $(LZ4DIR)/lz4hc.o $(LZ4DIR)/xxhash.o fuzzer.c
$(CC) $(FLAGS) $^ -o $@$(EXT)