mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Makefile: Add NULLSTREAM to factor out the NUL part of DONT_PRINT.
git-svn-id: https://svn.eduke32.com/eduke32@5777 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
619f3a7a8a
commit
6e3e490b93
1 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,9 @@ STRIP=$(CROSS)strip
|
||||||
AS=nasm
|
AS=nasm
|
||||||
PKG_CONFIG=pkg-config
|
PKG_CONFIG=pkg-config
|
||||||
|
|
||||||
DONT_PRINT = > /dev/null 2>&1
|
NULLSTREAM = /dev/null
|
||||||
|
DONT_PRINT = > $(NULLSTREAM) 2>&1
|
||||||
|
DONT_PRINT_STDERR = 2> $(NULLSTREAM)
|
||||||
DONT_FAIL = ; exit 0
|
DONT_FAIL = ; exit 0
|
||||||
|
|
||||||
# Override defaults that absolutely will not work.
|
# Override defaults that absolutely will not work.
|
||||||
|
@ -298,7 +300,7 @@ W_STRICT_OVERFLOW := -Wno-strict-overflow
|
||||||
ifeq ($(HOSTPLATFORM),WINDOWS)
|
ifeq ($(HOSTPLATFORM),WINDOWS)
|
||||||
# MSYS2 lets you create files named NUL but has a /dev/null. Go figure.
|
# MSYS2 lets you create files named NUL but has a /dev/null. Go figure.
|
||||||
ifeq (,$(wildcard /dev/null))
|
ifeq (,$(wildcard /dev/null))
|
||||||
DONT_PRINT = > NUL 2>&1
|
NULLSTREAM = NUL
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue