summaryrefslogtreecommitdiffstats
path: root/programs
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 /programs
parente7648f4fcca64b7b87a0591a65e43e0de1e69e82 (diff)
downloadlz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.zip
lz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.tar.gz
lz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.tar.bz2
redefined VOID for Windows/MSYS
Diffstat (limited to 'programs')
-rw-r--r--programs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile
index ba01b40..531533c 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -29,6 +29,7 @@
DESTDIR ?=
PREFIX ?= /usr/local
+VOID := /dev/null
BINDIR := $(PREFIX)/bin
MANDIR := $(PREFIX)/share/man/man1
LZ4DIR := ../lib
@@ -43,10 +44,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