diff --git a/config/RULES.Host b/config/RULES.Host index 92a151738..c23914711 100644 --- a/config/RULES.Host +++ b/config/RULES.Host @@ -347,11 +347,6 @@ buildInstall :: build $(TARGETS) \ $(INSTALL_DBDNAME) $(INSTALL_INCREC) \ $(INSTALL_TCLLIBS) $(INSTALL_TCLINDEX) -depends:: $(LIBSRCS) $(SRCS) - $(RM) DEPENDS - touch DEPENDS - $(DEPENDS_RULE) - clean:: @echo "Cleaning" @$(RM) *.i *$(OBJ) *.a $(PROD) $(TESTPROD) $(LIBNAME) $(SHRLIBNAME) $(INC) *$(RES) $(TARGETS) @@ -497,6 +492,11 @@ $(INSTALL_JAVA)/%.class: %.class # The order of the following rules is # VERY IMPORTANT !!!! +depends:: $(LIBSRCS) $(SRCS) $(COND_PROD_SRCS) + $(RM) DEPENDS + touch DEPENDS + $(DEPENDS_RULE) + %$(EXE): %.c @$(RM) $@ $(COMPILE.c) $<