Skip to content

Commit

Permalink
Auto add path to import from var ROOT_SOURCE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
bioinfornatics committed Aug 16, 2012
1 parent d5dea01 commit b37e2c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile_exe
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ HEADERS = $(patsubst %.d,$(IMPORT_PATH)$(PATH_SEP)%.di, $(SOURCES))
DOCUMENTATIONS = $(patsubst %.d,$(DOC_PATH)$(PATH_SEP)%.html, $(SOURCES))
DDOCUMENTATIONS = $(patsubst %.d,$(DDOC_PATH)$(PATH_SEP)%.html, $(SOURCES))
DDOC_FLAGS = $(foreach macro,$(DDOCFILES), $(DDOC_MACRO)$(macro))
DCFLAGS_IMPORT += $(foreach dir,$(ROOT_SOURCE_DIR), -I$(dir))

all: executable header doc

Expand Down
1 change: 1 addition & 0 deletions Makefile_lib
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ HEADERS = $(patsubst %.d,$(IMPORT_PATH)$(PATH_SEP)%.di, $(SOURCES))
DOCUMENTATIONS = $(patsubst %.d,$(DOC_PATH)$(PATH_SEP)%.html, $(SOURCES))
DDOCUMENTATIONS = $(patsubst %.d,$(DDOC_PATH)$(PATH_SEP)%.html, $(SOURCES))
DDOC_FLAGS = $(foreach macro,$(DDOCFILES), $(DDOC_MACRO)$(macro))
DCFLAGS_IMPORT += $(foreach dir,$(ROOT_SOURCE_DIR), -I$(dir))
space :=
space +=

Expand Down

0 comments on commit b37e2c0

Please sign in to comment.