summaryrefslogtreecommitdiffstats
path: root/lib/dll
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 08:32:26 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-16 08:32:26 (GMT)
commit11f6217cc287d1b8d79b40361ed6b6ce6ef42172 (patch)
tree7f4bce4bac2a8d07a54f34b557799c07ddeefaf7 /lib/dll
parent873206e70e68efb75eae772ade3bce1d8e221c06 (diff)
downloadlz4-11f6217cc287d1b8d79b40361ed6b6ce6ef42172.zip
lz4-11f6217cc287d1b8d79b40361ed6b6ce6ef42172.tar.gz
lz4-11f6217cc287d1b8d79b40361ed6b6ce6ef42172.tar.bz2
created dll\example directory
Diffstat (limited to 'lib/dll')
-rw-r--r--lib/dll/example/Makefile (renamed from lib/dll/fullbench-dll/Makefile)12
-rw-r--r--lib/dll/example/README.md (renamed from lib/dll/README.md)0
-rw-r--r--lib/dll/example/fullbench-dll.sln (renamed from lib/dll/fullbench-dll/fullbench-dll.sln)0
-rw-r--r--lib/dll/example/fullbench-dll.vcxproj (renamed from lib/dll/fullbench-dll/fullbench-dll.vcxproj)0
4 files changed, 7 insertions, 5 deletions
diff --git a/lib/dll/fullbench-dll/Makefile b/lib/dll/example/Makefile
index 680e1b6..e987956 100644
--- a/lib/dll/fullbench-dll/Makefile
+++ b/lib/dll/example/Makefile
@@ -24,7 +24,9 @@
# ##########################################################################
VOID := /dev/null
-LZ4DIR := ./include
+LZ4DIR := ../include
+LIBDIR := ../static
+DLLDIR := ../dll
CFLAGS ?= -O3 # can select custom flags. For example : CFLAGS="-O2 -g" make
CFLAGS += -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum \
@@ -50,11 +52,11 @@ default: all
all: fullbench-dll fullbench-lib
-fullbench-lib: fullbench/fullbench.c fullbench/xxhash.c
- $(CC) $(FLAGS) $^ -o $@$(EXT) static/liblz4_static.lib
+fullbench-lib: fullbench.c xxhash.c
+ $(CC) $(FLAGS) $^ -o $@$(EXT) $(LIBDIR)/liblz4_static.lib
-fullbench-dll: fullbench/fullbench.c fullbench/xxhash.c
- $(CC) $(FLAGS) $^ -o $@$(EXT) -DLZ4_DLL_IMPORT=1 dll/liblz4.dll
+fullbench-dll: fullbench.c xxhash.c
+ $(CC) $(FLAGS) $^ -o $@$(EXT) -DLZ4_DLL_IMPORT=1 $(DLLDIR)/liblz4.dll
clean:
@$(RM) fullbench-dll$(EXT) fullbench-lib$(EXT) \
diff --git a/lib/dll/README.md b/lib/dll/example/README.md
index bb3dbd6..bb3dbd6 100644
--- a/lib/dll/README.md
+++ b/lib/dll/example/README.md
diff --git a/lib/dll/fullbench-dll/fullbench-dll.sln b/lib/dll/example/fullbench-dll.sln
index 72e302e..72e302e 100644
--- a/lib/dll/fullbench-dll/fullbench-dll.sln
+++ b/lib/dll/example/fullbench-dll.sln
diff --git a/lib/dll/fullbench-dll/fullbench-dll.vcxproj b/lib/dll/example/fullbench-dll.vcxproj
index cdb5534..cdb5534 100644
--- a/lib/dll/fullbench-dll/fullbench-dll.vcxproj
+++ b/lib/dll/example/fullbench-dll.vcxproj