configure: Cancel GNUMake built-in compiler rules

Their rules don't have our _INC dependencies, and were
being used in the gdd build (with no -I paths).
This commit is contained in:
Andrew Johnson
2014-04-10 12:35:47 -05:00
parent 475296ad49
commit ca9ef80760

View File

@@ -195,6 +195,12 @@ $(OBJLIBNAME):%$(OBJ):
@$(RM) $@
$(COMPILE.ctdt) $<
# Cancel GNUMake's built-in rules, which don't have our _INC
# dependencies so could get used in some circumstances (gdd)
%.o : %.c
%.o : %.cc
%.o : %.cpp
%$(OBJ): %.c $(COMMON_INC) $(INSTALL_INC)
@$(HDEPENDS_CMD)
@$(RM) $@