dtudcfonted: Resolve CID 86153
[oweals/cde.git] / cde / Makefile
index fae4a50d5f7543a61cb4c45c4dc9a69b0c84e19d..b5fd7b4793dca0424169fca8505547533194ce24 100644 (file)
@@ -127,7 +127,7 @@ World.doc:
 # This is just a sequence of bootstrapping steps we have to do.
 # The steps are listed as separate targets so clearmake can wink in
 # the Makefile.proto files.
-Makefile.boot: imake.proto $(DEPENDSRC)/Makefile.proto depend.bootstrap $(IMAKESRC)/Makefile.proto imake.bootstrap
+Makefile.boot: imake.proto $(DEPENDSRC)/Makefile.proto depend.bootstrap $(IMAKESRC)/Makefile.proto imake.bootstrap $(DEPENDSRC)/proto.clean
 
 imake.proto:
        cd $(IMAKESRC) && $(MAKE) $(FLAGS)
@@ -152,6 +152,9 @@ imake.bootstrap:
          else exit 0; fi
        $(MAKE) $(MFLAGS) xmakefile
 
+$(DEPENDSRC)/proto.clean:
+       cd $(DEPENDSRC) && $(RM) -r Makefile.proto
+
 Makefile::
        $(MAKE) $(MFLAGS) xmakefile