From 46d989507f2e4b98ed446e7f661a62ab3a1e5ecd Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 3 Sep 1998 15:53:13 +0000 Subject: [PATCH] Added COND_PROD_SRCS to depends rule and moved rule after the definition. --- config/RULES.Host | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) $<