فهرست منبع

* create dirs before compiling msg2inc

git-svn-id: trunk@22 -
peter 20 سال پیش
والد
کامیت
c8dccad8d3
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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)
 clean: tempclean execlean cleanall $(addsuffix _clean,$(PPC_TARGET)) $(addsuffix _clean,$(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
 msgtxt.inc: $(MSGFILE)
 	$(MAKE) $(MSG2INC)

+ 1 - 1
compiler/Makefile.fpc

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