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

This commit is contained in:
Adam Dunkels 2013-11-28 14:54:07 +01:00
parent 4cfe6c4a5e
commit 837a697dc8

View file

@ -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