summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2016-11-04 13:32:36 +0100
committerPrzemyslaw Skibinski <inikep@gmail.com>2016-11-04 13:32:36 +0100
commite06fcd903909c96a72d1025a81ff8fb31ac572fb (patch)
tree441c9cbd7e02772ffba9e4fa35dd6e6cf8b9f447 /Makefile
parente7648f4fcca64b7b87a0591a65e43e0de1e69e82 (diff)
downloadlz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.tar.gz
lz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.tar.bz2
lz4-e06fcd903909c96a72d1025a81ff8fb31ac572fb.zip
redefined VOID for Windows/MSYS
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6997b19..e98aafd 100644
--- a/Makefile
+++ b/Makefile
@@ -30,8 +30,9 @@
# - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
# ################################################################
-DESTDIR?=
-PREFIX ?= /usr/local
+DESTDIR ?=
+PREFIX ?= /usr/local
+VOID := /dev/null
LIBDIR ?= $(PREFIX)/lib
INCLUDEDIR=$(PREFIX)/include
@@ -43,10 +44,8 @@ TESTDIR = tests
# Define nul output
ifneq (,$(filter Windows%,$(OS)))
EXT = .exe
-VOID = nul
else
EXT =
-VOID = /dev/null
endif