SYSTEM_INC_DIRS needs immediate expansion
This commit is contained in:
@ -6,7 +6,6 @@ ifneq ($(V),1)
|
||||
_@ :=@
|
||||
endif
|
||||
|
||||
SYSTEM_INC_DIRS ?= -isystem $(dir $(lastword $(MAKEFILE_LIST)))inc
|
||||
INC_DIRS ?=
|
||||
SRC_DIR ?= ./src
|
||||
OUT_DIR ?= ./out
|
||||
@ -18,6 +17,8 @@ else
|
||||
LLVM_DIR ?= /usr/local/opt/llvm
|
||||
endif
|
||||
|
||||
SYSTEM_INC_DIRS := -isystem $(dir $(lastword $(MAKEFILE_LIST)))inc
|
||||
|
||||
CC := $(LLVM_DIR)/bin/clang
|
||||
CC_FLAGS := \
|
||||
-Werror \
|
||||
|
Reference in New Issue
Block a user