Browse Source

* create dirs before compiling msg2inc

git-svn-id: trunk@22 -
peter 20 years ago
parent
commit
c8dccad8d3
2 changed files with 2 additions and 2 deletions
  1. 1 1
      compiler/Makefile
  2. 1 1
      compiler/Makefile.fpc

+ 1 - 1
compiler/Makefile

@@ -2553,7 +2553,7 @@ cycleclean: cleanall $(addsuffix _clean,$(PPC_TARGET))
 	-$(DEL) $(EXENAME)
 	-$(DEL) $(EXENAME)
 clean: tempclean execlean cleanall $(addsuffix _clean,$(PPC_TARGET)) $(addsuffix _clean,$(TARGET_DIRS))
 clean: tempclean execlean cleanall $(addsuffix _clean,$(PPC_TARGET)) $(addsuffix _clean,$(TARGET_DIRS))
 distclean: tempclean execlean cleanall $(addsuffix _clean,$(CYCLETARGETS)) $(addsuffix _distclean,$(TARGET_DIRS))
 distclean: tempclean execlean cleanall $(addsuffix _clean,$(CYCLETARGETS)) $(addsuffix _distclean,$(TARGET_DIRS))
-$(MSG2INC): $(COMPILERUTILSDIR)/msg2inc.pp
+$(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/msg2inc.pp
 	$(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
 	$(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
 msgtxt.inc: $(MSGFILE)
 msgtxt.inc: $(MSGFILE)
 	$(MAKE) $(MSG2INC)
 	$(MAKE) $(MSG2INC)

+ 1 - 1
compiler/Makefile.fpc

@@ -311,7 +311,7 @@ distclean: tempclean execlean cleanall $(addsuffix _clean,$(CYCLETARGETS)) $(add
 # Make targets
 # Make targets
 #####################################################################
 #####################################################################
 
 
-$(MSG2INC): $(COMPILERUTILSDIR)/msg2inc.pp
+$(MSG2INC): $(COMPILER_TARGETDIR) $(COMPILER_UNITTARGETDIR) $(COMPILERUTILSDIR)/msg2inc.pp
         $(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
         $(COMPILER) -FE. $(COMPILERUTILSDIR)/msg2inc.pp
 
 
 # The msgtxt.inc only depends on the error?.msg file, not on msg2inc,
 # The msgtxt.inc only depends on the error?.msg file, not on msg2inc,