Added RM of target to some rules.

This commit is contained in:
Janet B. Anderson
2002-03-04 19:38:09 +00:00
parent d8157a9ea9
commit 093aaaca32
2 changed files with 6 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ endif
##################################################### CapFast filter
$(COMMON_DIR)/%.edf: ../%.sch $(DEPSCHS)
@$(RM) $@
@if [ ! -f cad.rc -a -r ../cad.rc ] ; then ln -s ../cad.rc ; fi
$(SCH2EDIF) $(SCH2EDIF_SYSFLAGS) $(SCH2EDIF_FLAGS) $<
@@ -128,6 +129,7 @@ $(COMMON_DIR)/%.edf: ../%.sch $(DEPSCHS)
ifdef CREATESUBSTITUTIONS
$(COMMON_DIR)/%.substitutions:
@$(RM) $@
@$(CREATESUBSTITUTIONS) $(COMMON_DIR)/$*
endif
@@ -136,6 +138,7 @@ endif
##################################################### Template files
$(COMMON_DIR)/%.template: %.edf
@$(RM) $@
$(E2DB) $(E2DB_SYSFLAGS) $(E2DB_FLAGS) -n $@.VAR $<
@$(REPLACEVAR) < $@.VAR > $@
@$(RM) $@.VAR
@@ -189,10 +192,12 @@ $(COMMON_DIR)/%.db$(RAW): %.substitutions %.template
ifeq '$(DB_OPT)' 'YES'
$(COMMON_DIR)/%.db$(RAW): %.db
@$(RM) $@
$(CP) $< $@
$(COMMON_DIR)/%.db: $(COMMON_DIR)/%.db$(RAW)
@echo "Optimizing database $@"
@$(RM) $@
$(DBST) . $< -d > $@
RAW=.raw

View File

@@ -7,6 +7,7 @@ install: buildInstall
buildInstall: $(TARGETS)
cdCommands: $(wildcard $(TOP)/configure/RELEASE*) $(TOP)/configure/CONFIG
@$(RM) $@
ifeq ($(IOCS_APPL_TOP),)
$(PERL) $(TOOLS)/convertRelease.pl -a $(ARCH) $@
else