mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 11:47:19 +01:00
* udpated makefile.fpc and regenerated makefile
This commit is contained in:
parent
1c6607d46f
commit
b6d3d8cf1b
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Makefile generated by fpcmake v0.99.13 on 1999-12-02 18:33
|
||||
# Makefile generated by fpcmake v0.99.13 on 1999-12-06 19:28
|
||||
#
|
||||
|
||||
defaultrule: info
|
||||
@ -65,12 +65,17 @@ endif
|
||||
|
||||
# What compiler to use ?
|
||||
ifndef FPC
|
||||
# Compatibility with old makefiles
|
||||
ifdef PP
|
||||
export FPC=$(PP)
|
||||
else
|
||||
ifdef inOS2
|
||||
export FPC=ppos2$(EXEEXT)
|
||||
else
|
||||
export FPC=ppc386$(EXEEXT)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Target OS
|
||||
ifndef OS_TARGET
|
||||
@ -271,19 +276,14 @@ cont_tests : all_compilations
|
||||
getret$(EXEEXT) : getret.pp
|
||||
$(FPC) getret
|
||||
|
||||
ifndef inlinux
|
||||
|
||||
getreturncode : getret$(EXEEXT)
|
||||
ifndef inlinux
|
||||
redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND)
|
||||
cp retcode $(FILE).$(RESEXT)
|
||||
|
||||
else
|
||||
|
||||
getreturncode : getret$(EXEEXT)
|
||||
getret $(COMMAND) > $(FILE).log 2>$(FILE).log
|
||||
cp retcode $(FILE).$(RESEXT)
|
||||
@echo "Return code of $(FILE) is $(cat retcode)"
|
||||
|
||||
# @echo "Return code of $(FILE) is $(cat retcode)"
|
||||
endif
|
||||
|
||||
|
||||
|
||||
@ -18,19 +18,17 @@ tests : clean all_compilations
|
||||
|
||||
cont_tests : all_compilations
|
||||
|
||||
ifndef inlinux
|
||||
getret$(EXEEXT) : getret.pp
|
||||
$(FPC) getret
|
||||
|
||||
getreturncode :
|
||||
getreturncode : getret$(EXEEXT)
|
||||
ifndef inlinux
|
||||
redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND)
|
||||
cp retcode $(FILE).$(RESEXT)
|
||||
|
||||
else
|
||||
|
||||
getreturncode :
|
||||
getret $(COMMAND) > $(FILE).log 2>$(FILE).log
|
||||
cp retcode $(FILE).$(RESEXT)
|
||||
@echo "Return code of $(FILE) is $(cat retcode)"
|
||||
|
||||
# @echo "Return code of $(FILE) is $(cat retcode)"
|
||||
endif
|
||||
|
||||
|
||||
@ -163,6 +161,7 @@ alltbs : $(patsubst %.pp,%.res,$(wildcard tbs/tbs*.pp))
|
||||
tbs0to99 : $(patsubst %.pp,%.res,$(wildcard tbs00*.pp))
|
||||
tbs100to199 : $(patsubst %.pp,%.res,$(wildcard tbs/tbs01*.pp))
|
||||
tbs200to299 : $(patsubst %.pp,%.res,$(wildcard tbs/tbs02*.pp))
|
||||
tbs300to399 : $(patsubst %.pp,%.res,$(wildcard tbs/tbs03*.pp))
|
||||
|
||||
alltest : $(patsubst %.pp,%.res,$(wildcard test/test*.pp))
|
||||
|
||||
@ -217,6 +216,7 @@ alltbsexec: $(patsubst %.pp,%.elg,$(wildcard tbs/tbs*.pp))
|
||||
tbsexec0to99 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs00*.pp))
|
||||
tbsexec100to199 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs01*.pp))
|
||||
tbsexec200to299 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs02*.pp))
|
||||
tbsexec300to399 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs03*.pp))
|
||||
|
||||
alltisexec: $(patsubst %.pp,%.eli,$(wildcard tis/tis*.pp))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user