diff options
| author | 2019-10-09 21:24:40 +0530 | |
|---|---|---|
| committer | 2019-10-09 21:24:40 +0530 | |
| commit | f72cf4cee440d3388d4e248533ee367a148cf9ac (patch) | |
| tree | 8f0683dc43d20054dfec0d0b5de9cbb10ca36805 | |
| parent | 0125684d3ff47167e1e5bd59df1802519e6fe5d3 (diff) | |
| parent | 7cc108f6a823948f0fbb53263bbe62426f9d1701 (diff) | |
| download | nnn-f72cf4cee440d3388d4e248533ee367a148cf9ac.tar.gz | |
Merge pull request #347 from rindeal/make-fix
allow multiple make targets being specified at once
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -14,13 +14,13 @@ O_NORL := 0 # no readline support O_NOLOC := 0 # no locale support # convert targets to flags for backwards compatibility -ifeq ($(MAKECMDGOALS),debug) +ifneq ($(filter debug,$(MAKECMDGOALS)),) O_DEBUG := 1 endif -ifeq ($(MAKECMDGOALS),norl) +ifneq ($(filter norl,$(MAKECMDGOALS)),) O_NORL := 1 endif -ifeq ($(MAKECMDGOALS),noloc) +ifneq ($(filter noloc,$(MAKECMDGOALS)),) O_NORL := 1 O_NOLOC := 1 endif |