summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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