From e2e40a4b9f8355fac4c4795da74fce7a5d370574 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Mon, 7 Apr 2014 12:38:03 -0500 Subject: [PATCH] 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. --- configure/RULES_BUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure/RULES_BUILD b/configure/RULES_BUILD index a8cba0d4e..41b1f0958 100644 --- a/configure/RULES_BUILD +++ b/configure/RULES_BUILD @@ -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)