Skip to content

Commit

Permalink
Merge pull request #347 from rindeal/make-fix
Browse files Browse the repository at this point in the history
allow multiple make targets being specified at once
  • Loading branch information
jarun authored Oct 9, 2019
2 parents 0125684 + 7cc108f commit f72cf4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f72cf4c

Please sign in to comment.