Преглед изворни кода

* use 218 as ignore value for compare under win32
* also remove ppu files in subdirectories

pierre пре 22 година
родитељ
комит
9e21fb4c0a
2 измењених фајлова са 5 додато и 3 уклоњено
  1. 3 2
      compiler/Makefile
  2. 2 1
      compiler/Makefile.fpc

+ 3 - 2
compiler/Makefile

@@ -1,5 +1,5 @@
 #
-# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/01]
+# Don't edit, this file is generated by FPCMake Version 1.1 [2003/04/11]
 #
 default: all
 MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware openbsd wdosx palmos macos macosx emx
@@ -1550,7 +1550,7 @@ include fpcmake.loc
 endif
 ifeq ($(OS_TARGET),win32)
 ifdef CMP
-override DIFF:=$(CMP) -i138
+override DIFF:=$(CMP) -i218
 endif
 override COMPILER+=-XX
 endif
@@ -1607,6 +1607,7 @@ echotime:
 	@echo Start $(STARTTIME) now $(ENDTIME)
 ppuclean:
 	-$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
+	-$(DEL) $(addsuffix /*$(PPUEXT),$(UNIT_DIR))
 execlean :
 	-$(DEL) ppc386$(EXEEXT) ppcaxp$(EXEEXT) ppc68k$(EXEEXT) ppcppc$(EXEEXT) ppcsparc$(EXEEXT) $(EXENAME)
 $(addsuffix _clean,$(CYCLETARGETS)):

+ 2 - 1
compiler/Makefile.fpc

@@ -201,7 +201,7 @@ override FPCOPT:=$(LOCALOPT)
 
 ifeq ($(OS_TARGET),win32)
 ifdef CMP
-override DIFF:=$(CMP) -i138
+override DIFF:=$(CMP) -i218
 endif
 # force try to smartlink for windows unit
 override COMPILER+=-XX
@@ -290,6 +290,7 @@ echotime:
 
 ppuclean:
         -$(DEL) *$(OEXT) *$(PPUEXT) *$(RSTEXT) *$(ASMEXT) *$(STATICLIBEXT) *$(SHAREDLIBEXT) *$(PPLEXT)
+        -$(DEL) $(addsuffix /*$(PPUEXT),$(UNIT_DIR))
 
 execlean :
         -$(DEL) ppc386$(EXEEXT) ppcaxp$(EXEEXT) ppc68k$(EXEEXT) ppcppc$(EXEEXT) ppcsparc$(EXEEXT) $(EXENAME)