build: Replace all -I to INCDIR

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-05-20 16:29:35 +08:00
committed by Abdelatif Guettouche
parent ead498a788
commit ea135b89c6
15 changed files with 27 additions and 34 deletions

View File

@@ -56,7 +56,8 @@ UNITY_SRCDIR = $(UNITY_UNPACKNAME)$(DELIM)src
APPS_INCDIR = $(APPDIR)$(DELIM)include$(DELIM)testing
CFLAGS += -I$(APPS_INCDIR) -DUNITY_INCLUDE_CONFIG_H
CFLAGS += ${shell $(INCDIR) "$(CC)" $(APPS_INCDIR)}
CFLAGS += -DUNITY_INCLUDE_CONFIG_H
CSRCS = $(UNITY_SRCDIR)$(DELIM)unity.c