Added COND_PROD_SRCS to depends rule and moved rule after the definition.

This commit is contained in:
Janet B. Anderson
1998-09-03 15:53:13 +00:00
parent 71112a41df
commit 46d989507f

View File

@@ -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) $<