瀏覽代碼

allow multiple make targets being specified at once

master
Jan Chren (rindeal) 5 年之前
父節點
當前提交
7cc108f6a8
共有 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

# 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


Loading…
取消
儲存