Преглед на файлове

Merge pull request #347 from rindeal/make-fix

allow multiple make targets being specified at once
master
Mischievous Meerkat GitHub преди 6 години
родител
ревизия
f72cf4cee4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. +3
    -3
      Makefile

+ 3
- 3
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…
Отказ
Запис