configure: Add inc dependency to compile rules

The inc step must have been completed before we run
the C/C++ compilers to build any object files.
This commit is contained in:
Andrew Johnson
2014-04-07 12:38:03 -05:00
parent a3b5ced30b
commit e2e40a4b9f

View File

@@ -195,17 +195,17 @@ $(OBJLIBNAME):%$(OBJ):
@$(RM) $@
$(COMPILE.ctdt) $<
%$(OBJ): %.c
%$(OBJ): %.c inc
@$(HDEPENDS_CMD)
@$(RM) $@
$(COMPILE.c) $(call PATH_FILTER,$<) $(COMPILE_FILTER.c)
%$(OBJ): %.cc
%$(OBJ): %.cc inc
@$(HDEPENDS_CMD)
@$(RM) $@
$(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)
%$(OBJ): %.cpp
%$(OBJ): %.cpp inc
@$(HDEPENDS_CMD)
@$(RM) $@
$(COMPILE.cpp) $(call PATH_FILTER,$<) $(COMPILE_FILTER.cpp)