From 837a697dc8dd454bc0ac327604a527894099f129 Mon Sep 17 00:00:00 2001 From: Adam Dunkels Date: Thu, 28 Nov 2013 14:54:07 +0100 Subject: [PATCH] Include the top-level Contiki directory in the include file search path to make it possible for modules to include their header files via their module path --- Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.include b/Makefile.include index 47e513e1f..339a1739b 100644 --- a/Makefile.include +++ b/Makefile.include @@ -182,7 +182,7 @@ SOURCEDIRS = . $(PROJECTDIRS) $(CONTIKI_TARGET_DIRS_CONCAT) \ vpath %.c $(SOURCEDIRS) vpath %.S $(SOURCEDIRS) -CFLAGS += ${addprefix -I,$(SOURCEDIRS)} +CFLAGS += ${addprefix -I,$(SOURCEDIRS) $(CONTIKI)} ### Check for a git repo and pass version if found ### git.exe in Windows cmd shells may require no stderr redirection