redefined VOID for Windows/MSYS
This commit is contained in:
parent
e7648f4fcc
commit
e06fcd9039
7
Makefile
7
Makefile
@ -30,8 +30,9 @@
|
|||||||
# - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
|
# - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
|
||||||
# ################################################################
|
# ################################################################
|
||||||
|
|
||||||
DESTDIR?=
|
DESTDIR ?=
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
VOID := /dev/null
|
||||||
|
|
||||||
LIBDIR ?= $(PREFIX)/lib
|
LIBDIR ?= $(PREFIX)/lib
|
||||||
INCLUDEDIR=$(PREFIX)/include
|
INCLUDEDIR=$(PREFIX)/include
|
||||||
@ -43,10 +44,8 @@ TESTDIR = tests
|
|||||||
# Define nul output
|
# Define nul output
|
||||||
ifneq (,$(filter Windows%,$(OS)))
|
ifneq (,$(filter Windows%,$(OS)))
|
||||||
EXT = .exe
|
EXT = .exe
|
||||||
VOID = nul
|
|
||||||
else
|
else
|
||||||
EXT =
|
EXT =
|
||||||
VOID = /dev/null
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
DESTDIR ?=
|
DESTDIR ?=
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
VOID := /dev/null
|
||||||
BINDIR := $(PREFIX)/bin
|
BINDIR := $(PREFIX)/bin
|
||||||
MANDIR := $(PREFIX)/share/man/man1
|
MANDIR := $(PREFIX)/share/man/man1
|
||||||
LZ4DIR := ../lib
|
LZ4DIR := ../lib
|
||||||
@ -43,10 +44,8 @@ FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
|||||||
# Define *.exe as extension for Windows systems
|
# Define *.exe as extension for Windows systems
|
||||||
ifneq (,$(filter Windows%,$(OS)))
|
ifneq (,$(filter Windows%,$(OS)))
|
||||||
EXT =.exe
|
EXT =.exe
|
||||||
VOID = nul
|
|
||||||
else
|
else
|
||||||
EXT =
|
EXT =
|
||||||
VOID = /dev/null
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
DESTDIR ?=
|
DESTDIR ?=
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
|
VOID := /dev/null
|
||||||
BINDIR := $(PREFIX)/bin
|
BINDIR := $(PREFIX)/bin
|
||||||
MANDIR := $(PREFIX)/share/man/man1
|
MANDIR := $(PREFIX)/share/man/man1
|
||||||
LZ4DIR := ../lib
|
LZ4DIR := ../lib
|
||||||
@ -50,10 +51,8 @@ FLAGS := $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
|
|||||||
# Define *.exe as extension for Windows systems
|
# Define *.exe as extension for Windows systems
|
||||||
ifneq (,$(filter Windows%,$(OS)))
|
ifneq (,$(filter Windows%,$(OS)))
|
||||||
EXT =.exe
|
EXT =.exe
|
||||||
VOID = nul
|
|
||||||
else
|
else
|
||||||
EXT =
|
EXT =
|
||||||
VOID = /dev/null
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user