Recompile rtl before trying to compile msg2inc binary

This commit is contained in:
Pierre Muller 2024-08-29 22:48:15 +02:00
parent 94d7aeb998
commit b40d312521
2 changed files with 2 additions and 0 deletions

View File

@ -5155,6 +5155,7 @@ distclean: tempclean execlean cleanall $(addsuffix _clean,$(ALLTARGETS) $(BETATA
$(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/msg2inc.pp
$(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
msgtxt.inc: $(MSGFILE)
$(MAKE) rtl
$(MAKE) $(MSG2INC)
$(MSG2INC) $(MSGFILE) msg msg
msg: msgtxt.inc

View File

@ -786,6 +786,7 @@ $(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/
# The msgtxt.inc only depends on the error?.msg file, not on msg2inc,
# because that one will be new almost everytime
msgtxt.inc: $(MSGFILE)
$(MAKE) rtl
$(MAKE) $(MSG2INC)
$(MSG2INC) $(MSGFILE) msg msg