config(verbosity): Set up verbosity level during building
This commit is contained in:
parent
ac63e53d49
commit
828cc4d580
12
Makefile
12
Makefile
|
@ -1,3 +1,15 @@
|
|||
# verbosity level
|
||||
V := 0
|
||||
NIM_PARAMS := $(NIM_PARAMS) --verbosity:$(V)
|
||||
HANDLE_OUTPUT :=
|
||||
SILENT_TARGET_PREFIX := disabled
|
||||
ifeq ($(V), 0)
|
||||
NIM_PARAMS := $(NIM_PARAMS) --hints:off
|
||||
# don't swallow stderr, in case it's important
|
||||
HANDLE_OUTPUT := >/dev/null
|
||||
SILENT_TARGET_PREFIX :=
|
||||
endif
|
||||
|
||||
##################
|
||||
## RLN ##
|
||||
##################
|
||||
|
|
Loading…
Reference in New Issue