summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-04 12:32:36 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-04 12:32:36 (GMT)
commite06fcd903909c96a72d1025a81ff8fb31ac572fb (patch)
tree441c9cbd7e02772ffba9e4fa35dd6e6cf8b9f447 /tests
parente7648f4fcca64b7b87a0591a65e43e0de1e69e82 (diff)
downloadlz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.zip
lz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.tar.gz
lz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.tar.bz2
redefined VOID for Windows/MSYS
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 0c44b21..f8d7015 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -33,6 +33,7 @@
DESTDIR ?=
PREFIX ?= /usr/local
+VOID := /dev/null
BINDIR := $(PREFIX)/bin
MANDIR := $(PREFIX)/share/man/man1
LZ4DIR := ../lib
@@ -50,10 +51,8 @@ FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
# Define *.exe as extension for Windows systems
ifneq (,$(filter Windows%,$(OS)))
EXT =.exe
-VOID = nul
else
EXT =
-VOID = /dev/null
endif