redefined VOID for Windows/MSYS

This commit is contained in:
Przemyslaw Skibinski 2016-11-04 13:32:36 +01:00
parent e7648f4fcc
commit e06fcd9039
3 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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