diff --git a/compiler/Makefile b/compiler/Makefile index 3358b5b353..6a18cc2c41 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -5151,6 +5151,7 @@ cycleclean: cleanall $(addsuffix _clean,$(CPC_TARGET)) -$(DEL) $(EXENAME) clean: tempclean execlean cleanall $(addsuffix _clean,$(CPC_TARGET)) $(addsuffix _clean,$(TARGET_DIRS)) distclean: tempclean execlean cleanall $(addsuffix _clean,$(ALLTARGETS) $(BETATARGETS)) $(addsuffix _distclean,$(TARGET_DIRS)) + -$(DEL) msgtxt.inc msgidx.inc $(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/msg2inc.pp $(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp msgtxt.inc: $(MSGFILE) diff --git a/compiler/Makefile.fpc b/compiler/Makefile.fpc index 3e31bbd22d..7f794c9024 100644 --- a/compiler/Makefile.fpc +++ b/compiler/Makefile.fpc @@ -774,7 +774,7 @@ cycleclean: cleanall $(addsuffix _clean,$(CPC_TARGET)) clean: tempclean execlean cleanall $(addsuffix _clean,$(CPC_TARGET)) $(addsuffix _clean,$(TARGET_DIRS)) distclean: tempclean execlean cleanall $(addsuffix _clean,$(ALLTARGETS) $(BETATARGETS)) $(addsuffix _distclean,$(TARGET_DIRS)) - + -$(DEL) msgtxt.inc msgidx.inc ##################################################################### # Make targets