Only execute depends command if there are source files.

This commit is contained in:
Janet B. Anderson committed 2001-08-20 17:23:24 +00:00
1 parent c4a14a940d
commit def5fcf7c2
2 files changed
+4

No files matched your search

+2
View File
@@ -522,7 +522,9 @@ $(PACKAGE)_%.h:$(INSTALL_JAVA)/$(PACKAGE)/%.class
depends:: $(LIBSRCS) $(SRCS) $(COND_PROD_SRCS)
$(RM) DEPENDS
ifneq ($(strip $(LIBSRCS) $(SRCS) $(COND_PROD_SRCS)),)
$(DEPENDS_RULE)
endif
ifeq ($(HOST_ARCH),Borland)
%$(EXE): %.c
+2
View File
@@ -76,7 +76,9 @@ endif
depends:: $(SRCS.c) $(SRCS.cc)
$(RM) DEPENDS
ifneq ($(strip $(SRCS.c) $(SRCS.cc)),)
$(DEPENDS_RULE)
endif
clean::
@echo "Cleaning"