summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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