|
@@ -1,5 +1,5 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 1.1 [2001/08/22]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 1.1 [2001/08/30]
|
|
|
#
|
|
|
default: all
|
|
|
override PATH:=$(subst \,/,$(PATH))
|
|
@@ -633,15 +633,22 @@ override FPCOPT+=-gl
|
|
|
override FPCOPTDEF+=DEBUG
|
|
|
endif
|
|
|
ifdef RELEASE
|
|
|
-override FPCOPT+=-Xs -OG2p3 -n
|
|
|
+ifeq ($(CPU_TARGET),i386)
|
|
|
+FPCCPUOPT:=-OG2p3
|
|
|
+else
|
|
|
+FPCCPUOPT:=
|
|
|
+endif
|
|
|
+override FPCOPT+=-Xs $(FPCCPUOPT) -n
|
|
|
override FPCOPTDEF+=RELEASE
|
|
|
endif
|
|
|
ifdef STRIP
|
|
|
override FPCOPT+=-Xs
|
|
|
endif
|
|
|
ifdef OPTIMIZE
|
|
|
+ifeq ($(CPU_TARGET),i386)
|
|
|
override FPCOPT+=-OG2p3
|
|
|
endif
|
|
|
+endif
|
|
|
ifdef VERBOSE
|
|
|
override FPCOPT+=-vwni
|
|
|
endif
|
|
@@ -934,7 +941,7 @@ endif
|
|
|
ifdef LIB_NAME
|
|
|
-$(DEL) $(LIB_NAME) $(LIB_FULLNAME)
|
|
|
endif
|
|
|
- -$(DEL) $(FPCMADE) Package.fpc $(PPAS) link.res $(FPCEXTFILE) $(REDIRFILE)
|
|
|
+ -$(DEL) $(FPCMADE) Package.fpc $(PPAS) script.res link.res $(FPCEXTFILE) $(REDIRFILE)
|
|
|
fpc_distclean: clean
|
|
|
ifdef COMPILER_UNITTARGETDIR
|
|
|
TARGETDIRCLEAN=fpc_clean
|
|
@@ -1036,11 +1043,10 @@ zipinstall: fpc_zipinstall
|
|
|
zipsourceinstall: fpc_zipsourceinstall
|
|
|
zipexampleinstall: fpc_zipexampleinstall
|
|
|
zipdistinstall: fpc_zipdistinstall
|
|
|
-clean: fpc_clean
|
|
|
distclean: fpc_distclean
|
|
|
cleanall: fpc_cleanall
|
|
|
info: fpc_info
|
|
|
-.PHONY: all debug smart examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall clean distclean cleanall info
|
|
|
+.PHONY: all debug smart examples shared install sourceinstall exampleinstall distinstall zipinstall zipsourceinstall zipexampleinstall zipdistinstall distclean cleanall info
|
|
|
ifneq ($(wildcard fpcmake.loc),)
|
|
|
include fpcmake.loc
|
|
|
endif
|
|
@@ -1099,3 +1105,5 @@ simple: $(DBGCOM)
|
|
|
testgdb$(EXEEXT): testgdb.pp gdbint$(PPUEXT) gdbcon$(PPUEXT) $(DBGCOM)
|
|
|
.PHONY: test
|
|
|
test: examples
|
|
|
+clean: fpc_clean
|
|
|
+ $(DEL) gdbver$(EXEEXT) gdbver$(OEXT)
|