Modify inc dependencies
Using inc causes a rebuild every time; replace it with the list of include files that the compiler might use. Also adjust gdd build to avoid a circular dependency.
This commit is contained in:
@@ -195,17 +195,17 @@ $(OBJLIBNAME):%$(OBJ):
|
||||
@$(RM) $@
|
||||
$(COMPILE.ctdt) $<
|
||||
|
||||
%$(OBJ): %.c inc
|
||||
%$(OBJ): %.c $(COMMON_INC) $(INSTALL_INC)
|
||||
@$(HDEPENDS_CMD)
|
||||
@$(RM) $@
|
||||
$(COMPILE.c) $(call PATH_FILTER,$<) $(COMPILE_FILTER.c)
|
||||
|
||||
%$(OBJ): %.cc inc
|
||||
%$(OBJ): %.cc $(COMMON_INC) $(INSTALL_INC)
|
||||
@$(HDEPENDS_CMD)
|
||||
@$(RM) $@
|
||||
$(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)
|
||||
|
||||
%$(OBJ): %.cpp inc
|
||||
%$(OBJ): %.cpp $(COMMON_INC) $(INSTALL_INC)
|
||||
@$(HDEPENDS_CMD)
|
||||
@$(RM) $@
|
||||
$(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)
|
||||
|
||||
@@ -30,9 +30,11 @@ INC += dbMapper.h
|
||||
INC += gddAppTable.h
|
||||
INC += gddAppFuncTable.h
|
||||
INC += smartGDDPointer.h
|
||||
INC += gddApps.h
|
||||
INC += gddEnumStringTable.h
|
||||
|
||||
# Can't put this in INC, it causes a circular build dependency
|
||||
TARGETS += $(INSTALL_INCLUDE)/gddApps.h
|
||||
|
||||
HTMLS += gdd.html
|
||||
HTMLS += gddref.html
|
||||
HTMLS += gddref2.html
|
||||
|
||||
Reference in New Issue
Block a user