mirror of
https://github.com/jarun/nnn.git
synced 2025-02-26 03:01:32 +00:00
allow multiple make targets being specified at once
This commit is contained in:
parent
0125684d3f
commit
7cc108f6a8
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -14,13 +14,13 @@ O_NORL := 0 # no readline support
|
||||||
O_NOLOC := 0 # no locale support
|
O_NOLOC := 0 # no locale support
|
||||||
|
|
||||||
# convert targets to flags for backwards compatibility
|
# convert targets to flags for backwards compatibility
|
||||||
ifeq ($(MAKECMDGOALS),debug)
|
ifneq ($(filter debug,$(MAKECMDGOALS)),)
|
||||||
O_DEBUG := 1
|
O_DEBUG := 1
|
||||||
endif
|
endif
|
||||||
ifeq ($(MAKECMDGOALS),norl)
|
ifneq ($(filter norl,$(MAKECMDGOALS)),)
|
||||||
O_NORL := 1
|
O_NORL := 1
|
||||||
endif
|
endif
|
||||||
ifeq ($(MAKECMDGOALS),noloc)
|
ifneq ($(filter noloc,$(MAKECMDGOALS)),)
|
||||||
O_NORL := 1
|
O_NORL := 1
|
||||||
O_NOLOC := 1
|
O_NOLOC := 1
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue