summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorPrzemyslaw Skibinski <inikep@gmail.com>2017-02-10 13:53:58 (GMT)
committerPrzemyslaw Skibinski <inikep@gmail.com>2017-02-10 13:53:58 (GMT)
commitc7b14967ab5c677086aa1427af4c000fa341343c (patch)
tree00226a4b65333cea8081196d3032e7e7ccb3d1a3 /programs/Makefile
parent4f261b8281c9b787f27f06fb994cf0ab997bdb73 (diff)
downloadlz4-c7b14967ab5c677086aa1427af4c000fa341343c.zip
lz4-c7b14967ab5c677086aa1427af4c000fa341343c.tar.gz
lz4-c7b14967ab5c677086aa1427af4c000fa341343c.tar.bz2
updated platform.h
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/programs/Makefile b/programs/Makefile
index 8a271c2..4a8103c 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -44,6 +44,7 @@ LZ4DIR := ../lib
SRCFILES := $(wildcard $(LZ4DIR)/*.c) $(wildcard *.c)
OBJFILES := $(patsubst %.c,%.o,$(SRCFILES))
+VOID := /dev/null
CPPFLAGS+= -I$(LZ4DIR) -DXXH_NAMESPACE=LZ4_
CFLAGS ?= -O3
@@ -60,10 +61,8 @@ MD2ROFF_FLAGS = --roff --warnings --manual="User Commands" --organization="lz4
# Define *.exe as extension for Windows systems
ifneq (,$(filter Windows%,$(OS)))
-VOID := nul
EXT :=.exe
else
-VOID := /dev/null
EXT :=
endif