* udpated makefile.fpc and regenerated makefile

This commit is contained in:
peter 1999-12-06 21:29:49 +00:00
parent 1c6607d46f
commit b6d3d8cf1b
2 changed files with 109 additions and 109 deletions

View File

@ -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 defaultrule: info
@ -65,12 +65,17 @@ endif
# What compiler to use ? # What compiler to use ?
ifndef FPC ifndef FPC
# Compatibility with old makefiles
ifdef PP
export FPC=$(PP)
else
ifdef inOS2 ifdef inOS2
export FPC=ppos2$(EXEEXT) export FPC=ppos2$(EXEEXT)
else else
export FPC=ppc386$(EXEEXT) export FPC=ppc386$(EXEEXT)
endif endif
endif endif
endif
# Target OS # Target OS
ifndef OS_TARGET ifndef OS_TARGET
@ -271,19 +276,14 @@ cont_tests : all_compilations
getret$(EXEEXT) : getret.pp getret$(EXEEXT) : getret.pp
$(FPC) getret $(FPC) getret
ifndef inlinux
getreturncode : getret$(EXEEXT) getreturncode : getret$(EXEEXT)
ifndef inlinux
redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND) redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND)
cp retcode $(FILE).$(RESEXT) cp retcode $(FILE).$(RESEXT)
else else
getreturncode : getret$(EXEEXT)
getret $(COMMAND) > $(FILE).log 2>$(FILE).log getret $(COMMAND) > $(FILE).log 2>$(FILE).log
cp retcode $(FILE).$(RESEXT) cp retcode $(FILE).$(RESEXT)
@echo "Return code of $(FILE) is $(cat retcode)" # @echo "Return code of $(FILE) is $(cat retcode)"
endif endif

View File

@ -18,19 +18,17 @@ tests : clean all_compilations
cont_tests : 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) redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND)
cp retcode $(FILE).$(RESEXT) cp retcode $(FILE).$(RESEXT)
else else
getreturncode :
getret $(COMMAND) > $(FILE).log 2>$(FILE).log getret $(COMMAND) > $(FILE).log 2>$(FILE).log
cp retcode $(FILE).$(RESEXT) cp retcode $(FILE).$(RESEXT)
@echo "Return code of $(FILE) is $(cat retcode)" # @echo "Return code of $(FILE) is $(cat retcode)"
endif endif
@ -163,6 +161,7 @@ alltbs : $(patsubst %.pp,%.res,$(wildcard tbs/tbs*.pp))
tbs0to99 : $(patsubst %.pp,%.res,$(wildcard tbs00*.pp)) tbs0to99 : $(patsubst %.pp,%.res,$(wildcard tbs00*.pp))
tbs100to199 : $(patsubst %.pp,%.res,$(wildcard tbs/tbs01*.pp)) tbs100to199 : $(patsubst %.pp,%.res,$(wildcard tbs/tbs01*.pp))
tbs200to299 : $(patsubst %.pp,%.res,$(wildcard tbs/tbs02*.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)) 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)) tbsexec0to99 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs00*.pp))
tbsexec100to199 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs01*.pp)) tbsexec100to199 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs01*.pp))
tbsexec200to299 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs02*.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)) alltisexec: $(patsubst %.pp,%.eli,$(wildcard tis/tis*.pp))