mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-06 04:47:17 +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
|
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
|
||||||
@ -270,20 +275,15 @@ 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
|
||||||
|
|
||||||
|
|
||||||
@ -313,7 +313,7 @@ testsuccess:
|
|||||||
@echo $(FILE) >> ts_fail
|
@echo $(FILE) >> ts_fail
|
||||||
@echo $(FILE) >> faillist
|
@echo $(FILE) >> faillist
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef EXCFILE
|
ifdef EXCFILE
|
||||||
ifeq ($(wildcard $(EXCFILE)*),$(EXCFILE))
|
ifeq ($(wildcard $(EXCFILE)*),$(EXCFILE))
|
||||||
EXERETVAL:=$(shell cat $(EXCFILE))
|
EXERETVAL:=$(shell cat $(EXCFILE))
|
||||||
@ -333,7 +333,7 @@ testexecsuccess:
|
|||||||
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)"
|
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)"
|
||||||
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)" >>log
|
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)" >>log
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(wildcard $(FILE)$(EXEEXT)),$(FILE)$(EXEEXT))
|
ifeq ($(wildcard $(FILE)$(EXEEXT)),$(FILE)$(EXEEXT))
|
||||||
testexec:
|
testexec:
|
||||||
@echo "Testing $(FILE)$(EXEEXT)"
|
@echo "Testing $(FILE)$(EXEEXT)"
|
||||||
@ -362,7 +362,7 @@ test_exc :
|
|||||||
@echo $(wildcard $(FILE).exc*)
|
@echo $(wildcard $(FILE).exc*)
|
||||||
@echo xx$(wildcard $(EXCFILE)*)xx xx$(EXCFILE)xx
|
@echo xx$(wildcard $(EXCFILE)*)xx xx$(EXCFILE)xx
|
||||||
cat $(FILE).exc
|
cat $(FILE).exc
|
||||||
|
|
||||||
ifneq ($(RETVAL),0)
|
ifneq ($(RETVAL),0)
|
||||||
testfail:
|
testfail:
|
||||||
@echo "Test for $(FILE) success (does not compile) error $(RETVAL)"
|
@echo "Test for $(FILE) success (does not compile) error $(RETVAL)"
|
||||||
@ -445,11 +445,11 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
clean_fail :
|
clean_fail :
|
||||||
-rm -f $(addsuffix .res,$(TS_FAIL_LIST))
|
-rm -f $(addsuffix .res,$(TS_FAIL_LIST))
|
||||||
-rm -f $(addsuffix .ref,$(TF_FAIL_LIST))
|
-rm -f $(addsuffix .ref,$(TF_FAIL_LIST))
|
||||||
-rm log
|
-rm log
|
||||||
|
|
||||||
again : clean_fail $(addsuffix .res,$(TS_FAIL_LIST)) $(addsuffix .ref,$(TF_FAIL_LIST))
|
again : clean_fail $(addsuffix .res,$(TS_FAIL_LIST)) $(addsuffix .ref,$(TF_FAIL_LIST))
|
||||||
grep fails log
|
grep fails log
|
||||||
|
|
||||||
all_compilations : allts alltbs alltf alltbf allto alltest alltesi alltis
|
all_compilations : allts alltbs alltf alltbf allto alltest alltesi alltis
|
||||||
@ -458,22 +458,22 @@ all_compilations : allts alltbs alltf alltbf allto alltest alltesi alltis
|
|||||||
allexec : alltsexec alltbsexec alltestexec
|
allexec : alltsexec alltbsexec alltestexec
|
||||||
grep "fails exec" log
|
grep "fails exec" log
|
||||||
|
|
||||||
alltestexec: $(patsubst %.pp,%.elg,$(wildcard test/test*.pp))
|
alltestexec: $(patsubst %.pp,%.elg,$(wildcard test/test*.pp))
|
||||||
|
|
||||||
# these test are interactive
|
# these test are interactive
|
||||||
# no redirection !!!
|
# no redirection !!!
|
||||||
alltesiexec: $(patsubst %.pp,%.eli,$(wildcard tesi/tesi*.pp))
|
alltesiexec: $(patsubst %.pp,%.eli,$(wildcard tesi/tesi*.pp))
|
||||||
|
|
||||||
alltsexec: $(patsubst %.pp,%.elg,$(wildcard ts/ts*.pp))
|
alltsexec: $(patsubst %.pp,%.elg,$(wildcard ts/ts*.pp))
|
||||||
|
|
||||||
alltbsexec: $(patsubst %.pp,%.elg,$(wildcard tbs/tbs*.pp))
|
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))
|
tbsexec300to399 : $(patsubst %.pp,%.elg,$(wildcard tbs/tbs03*.pp))
|
||||||
|
|
||||||
alltisexec: $(patsubst %.pp,%.eli,$(wildcard tis/tis*.pp))
|
alltisexec: $(patsubst %.pp,%.eli,$(wildcard tis/tis*.pp))
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f $(addsuffix /*.re*,$(DIRS))
|
-rm -f $(addsuffix /*.re*,$(DIRS))
|
||||||
@ -499,5 +499,5 @@ info :
|
|||||||
@echo simply run \'make tests\' to test all compilation
|
@echo simply run \'make tests\' to test all compilation
|
||||||
@echo run \'make allexec\' to test also if the executables
|
@echo run \'make allexec\' to test also if the executables
|
||||||
@echo created behave like the should
|
@echo created behave like the should
|
||||||
@echo run \'make tesiexec\' to test executables
|
@echo run \'make tesiexec\' to test executables
|
||||||
@echo that require interactive mode
|
@echo that require interactive mode
|
||||||
|
|||||||
@ -18,19 +18,17 @@ tests : clean all_compilations
|
|||||||
|
|
||||||
cont_tests : all_compilations
|
cont_tests : all_compilations
|
||||||
|
|
||||||
|
getret$(EXEEXT) : getret.pp
|
||||||
|
$(FPC) getret
|
||||||
|
|
||||||
|
getreturncode : getret$(EXEEXT)
|
||||||
ifndef inlinux
|
ifndef inlinux
|
||||||
|
redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND)
|
||||||
getreturncode :
|
cp retcode $(FILE).$(RESEXT)
|
||||||
redir -ea $(FILE).log -oa $(FILE).log getret $(COMMAND)
|
|
||||||
cp retcode $(FILE).$(RESEXT)
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
getret $(COMMAND) > $(FILE).log 2>$(FILE).log
|
||||||
getreturncode :
|
cp retcode $(FILE).$(RESEXT)
|
||||||
getret $(COMMAND) > $(FILE).log 2>$(FILE).log
|
# @echo "Return code of $(FILE) is $(cat retcode)"
|
||||||
cp retcode $(FILE).$(RESEXT)
|
|
||||||
@echo "Return code of $(FILE) is $(cat retcode)"
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
@ -51,16 +49,16 @@ endif
|
|||||||
|
|
||||||
ifeq ($(RETVAL),0)
|
ifeq ($(RETVAL),0)
|
||||||
testsuccess:
|
testsuccess:
|
||||||
@echo "Test for $(FILE) success (compiles)"
|
@echo "Test for $(FILE) success (compiles)"
|
||||||
@echo "Test for $(FILE) success (compiles)" >>log
|
@echo "Test for $(FILE) success (compiles)" >>log
|
||||||
else
|
else
|
||||||
testsuccess:
|
testsuccess:
|
||||||
@echo "Test for $(FILE) fails (does not compile) error $(RETVAL)"
|
@echo "Test for $(FILE) fails (does not compile) error $(RETVAL)"
|
||||||
@echo "Test for $(FILE) fails (does not compile) error $(RETVAL)" >>log
|
@echo "Test for $(FILE) fails (does not compile) error $(RETVAL)" >>log
|
||||||
@echo $(FILE) >> ts_fail
|
@echo $(FILE) >> ts_fail
|
||||||
@echo $(FILE) >> faillist
|
@echo $(FILE) >> faillist
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef EXCFILE
|
ifdef EXCFILE
|
||||||
ifeq ($(wildcard $(EXCFILE)*),$(EXCFILE))
|
ifeq ($(wildcard $(EXCFILE)*),$(EXCFILE))
|
||||||
EXERETVAL:=$(shell cat $(EXCFILE))
|
EXERETVAL:=$(shell cat $(EXCFILE))
|
||||||
@ -73,53 +71,53 @@ endif
|
|||||||
|
|
||||||
ifeq ($(EXERETVAL),0)
|
ifeq ($(EXERETVAL),0)
|
||||||
testexecsuccess:
|
testexecsuccess:
|
||||||
@echo "Test for exec $(FILE) success (runs without error)"
|
@echo "Test for exec $(FILE) success (runs without error)"
|
||||||
@echo "Test for $(FILE) success (runs without error)" >>log
|
@echo "Test for $(FILE) success (runs without error)" >>log
|
||||||
else
|
else
|
||||||
testexecsuccess:
|
testexecsuccess:
|
||||||
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)"
|
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)"
|
||||||
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)" >>log
|
@echo "Test for exec $(FILE) fails exec error $(EXERETVAL)" >>log
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(wildcard $(FILE)$(EXEEXT)),$(FILE)$(EXEEXT))
|
ifeq ($(wildcard $(FILE)$(EXEEXT)),$(FILE)$(EXEEXT))
|
||||||
testexec:
|
testexec:
|
||||||
@echo "Testing $(FILE)$(EXEEXT)"
|
@echo "Testing $(FILE)$(EXEEXT)"
|
||||||
ifdef NOREDIR
|
ifdef NOREDIR
|
||||||
getret $(FILE)$(EXEEXT)
|
getret $(FILE)$(EXEEXT)
|
||||||
else
|
else
|
||||||
ifndef inlinux
|
ifndef inlinux
|
||||||
redir -e $(FILE).elg -o $(FILE).elg getret $(FILE)$(EXEEXT)
|
redir -e $(FILE).elg -o $(FILE).elg getret $(FILE)$(EXEEXT)
|
||||||
else
|
else
|
||||||
getret $(FILE)$(EXEEXT) > $(FILE).elg 2>$(FILE).elg
|
getret $(FILE)$(EXEEXT) > $(FILE).elg 2>$(FILE).elg
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
cp -f retcode $(FILE).exc
|
cp -f retcode $(FILE).exc
|
||||||
$(MAKE) testexecsuccess 'FILE=$(FILE)' 'EXCFILE=$(FILE).exc'
|
$(MAKE) testexecsuccess 'FILE=$(FILE)' 'EXCFILE=$(FILE).exc'
|
||||||
else
|
else
|
||||||
testexec:
|
testexec:
|
||||||
ifeq ($(wildcard $(FILE)$(PPUEXT)),$(FILE)$(PPUEXT))
|
ifeq ($(wildcard $(FILE)$(PPUEXT)),$(FILE)$(PPUEXT))
|
||||||
@echo "file is a unit $(FILE)$(PPUEXT)"
|
@echo "file is a unit $(FILE)$(PPUEXT)"
|
||||||
else
|
else
|
||||||
@echo "No exefile $(FILE)$(EXEEXT)"
|
@echo "No exefile $(FILE)$(EXEEXT)"
|
||||||
@echo $(FILE) >> faillist
|
@echo $(FILE) >> faillist
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test_exc :
|
test_exc :
|
||||||
@echo $(wildcard $(FILE).exc*)
|
@echo $(wildcard $(FILE).exc*)
|
||||||
@echo xx$(wildcard $(EXCFILE)*)xx xx$(EXCFILE)xx
|
@echo xx$(wildcard $(EXCFILE)*)xx xx$(EXCFILE)xx
|
||||||
cat $(FILE).exc
|
cat $(FILE).exc
|
||||||
|
|
||||||
ifneq ($(RETVAL),0)
|
ifneq ($(RETVAL),0)
|
||||||
testfail:
|
testfail:
|
||||||
@echo "Test for $(FILE) success (does not compile) error $(RETVAL)"
|
@echo "Test for $(FILE) success (does not compile) error $(RETVAL)"
|
||||||
@echo "Test for $(FILE) success (does not compile) error $(RETVAL)" >> log
|
@echo "Test for $(FILE) success (does not compile) error $(RETVAL)" >> log
|
||||||
else
|
else
|
||||||
testfail:
|
testfail:
|
||||||
@echo "Test for $(FILE) fails (does compile and should not)"
|
@echo "Test for $(FILE) fails (does compile and should not)"
|
||||||
@echo "Test for $(FILE) fails (does compile and should not)" >> log
|
@echo "Test for $(FILE) fails (does compile and should not)" >> log
|
||||||
@echo $(FILE) >> tf_fail
|
@echo $(FILE) >> tf_fail
|
||||||
@echo $(FILE) >> faillist
|
@echo $(FILE) >> faillist
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef FILE
|
ifdef FILE
|
||||||
@ -135,26 +133,26 @@ FILE=ts00001.pp
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
testone :
|
testone :
|
||||||
$(MAKE) getreturncode 'COMMAND=$(FPC) $(OPT) $(FILE).pp' 'RESEXT=$(RESEXT)' 'FILE=$(FILE)'
|
$(MAKE) getreturncode 'COMMAND=$(FPC) $(OPT) $(FILE).pp' 'RESEXT=$(RESEXT)' 'FILE=$(FILE)'
|
||||||
|
|
||||||
|
|
||||||
%.res : %.pp
|
%.res : %.pp
|
||||||
$(MAKE) testone 'FILE=$*' 'RESEXT=res'
|
$(MAKE) testone 'FILE=$*' 'RESEXT=res'
|
||||||
$(MAKE) testsuccess 'FILE=$*' 'RESFILE=$*.res'
|
$(MAKE) testsuccess 'FILE=$*' 'RESFILE=$*.res'
|
||||||
|
|
||||||
%.ref : %.pp
|
%.ref : %.pp
|
||||||
$(MAKE) testone 'FILE=$*' 'RESEXT=ref'
|
$(MAKE) testone 'FILE=$*' 'RESEXT=ref'
|
||||||
$(MAKE) testfail 'FILE=$*' 'RESFILE=$*.ref'
|
$(MAKE) testfail 'FILE=$*' 'RESFILE=$*.ref'
|
||||||
|
|
||||||
# exec log files
|
# exec log files
|
||||||
# creates two files
|
# creates two files
|
||||||
# *.elg log file
|
# *.elg log file
|
||||||
# *.exc exicode of program
|
# *.exc exicode of program
|
||||||
%.elg : %.res
|
%.elg : %.res
|
||||||
$(MAKE) testexec 'FILE=$*'
|
$(MAKE) testexec 'FILE=$*'
|
||||||
|
|
||||||
%.eli : %.res
|
%.eli : %.res
|
||||||
$(MAKE) testexec 'FILE=$*' 'NOREDIR=YES'
|
$(MAKE) testexec 'FILE=$*' 'NOREDIR=YES'
|
||||||
|
|
||||||
allts : $(patsubst %.pp,%.res,$(wildcard ts/ts*.pp))
|
allts : $(patsubst %.pp,%.res,$(wildcard ts/ts*.pp))
|
||||||
|
|
||||||
@ -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))
|
||||||
|
|
||||||
@ -191,58 +190,59 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
clean_fail :
|
clean_fail :
|
||||||
-rm -f $(addsuffix .res,$(TS_FAIL_LIST))
|
-rm -f $(addsuffix .res,$(TS_FAIL_LIST))
|
||||||
-rm -f $(addsuffix .ref,$(TF_FAIL_LIST))
|
-rm -f $(addsuffix .ref,$(TF_FAIL_LIST))
|
||||||
-rm log
|
-rm log
|
||||||
|
|
||||||
again : clean_fail $(addsuffix .res,$(TS_FAIL_LIST)) $(addsuffix .ref,$(TF_FAIL_LIST))
|
again : clean_fail $(addsuffix .res,$(TS_FAIL_LIST)) $(addsuffix .ref,$(TF_FAIL_LIST))
|
||||||
grep fails log
|
grep fails log
|
||||||
|
|
||||||
all_compilations : allts alltbs alltf alltbf allto alltest alltesi alltis
|
all_compilations : allts alltbs alltf alltbf allto alltest alltesi alltis
|
||||||
grep fails log
|
grep fails log
|
||||||
|
|
||||||
allexec : alltsexec alltbsexec alltestexec
|
allexec : alltsexec alltbsexec alltestexec
|
||||||
grep "fails exec" log
|
grep "fails exec" log
|
||||||
|
|
||||||
alltestexec: $(patsubst %.pp,%.elg,$(wildcard test/test*.pp))
|
alltestexec: $(patsubst %.pp,%.elg,$(wildcard test/test*.pp))
|
||||||
|
|
||||||
# these test are interactive
|
# these test are interactive
|
||||||
# no redirection !!!
|
# no redirection !!!
|
||||||
alltesiexec: $(patsubst %.pp,%.eli,$(wildcard tesi/tesi*.pp))
|
alltesiexec: $(patsubst %.pp,%.eli,$(wildcard tesi/tesi*.pp))
|
||||||
|
|
||||||
alltsexec: $(patsubst %.pp,%.elg,$(wildcard ts/ts*.pp))
|
alltsexec: $(patsubst %.pp,%.elg,$(wildcard ts/ts*.pp))
|
||||||
|
|
||||||
alltbsexec: $(patsubst %.pp,%.elg,$(wildcard tbs/tbs*.pp))
|
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))
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
-rm -f $(addsuffix /*.re*,$(DIRS))
|
-rm -f $(addsuffix /*.re*,$(DIRS))
|
||||||
-rm -f $(addsuffix /*$(PPUEXT),$(DIRS))
|
-rm -f $(addsuffix /*$(PPUEXT),$(DIRS))
|
||||||
-rm -f $(addsuffix /*$(OEXT),$(DIRS))
|
-rm -f $(addsuffix /*$(OEXT),$(DIRS))
|
||||||
-rm -f $(addsuffix /*.log,$(DIRS))
|
-rm -f $(addsuffix /*.log,$(DIRS))
|
||||||
-rm -f $(addsuffix /*.elg,$(DIRS))
|
-rm -f $(addsuffix /*.elg,$(DIRS))
|
||||||
-rm -f $(addsuffix /*.exc,$(DIRS))
|
-rm -f $(addsuffix /*.exc,$(DIRS))
|
||||||
ifdef inlinux
|
ifdef inlinux
|
||||||
-rm -f $(patsubst %.pp,%$(EXEEXT),$(wildcard $(addsuffix /t*.pp,$(DIRS))))
|
-rm -f $(patsubst %.pp,%$(EXEEXT),$(wildcard $(addsuffix /t*.pp,$(DIRS))))
|
||||||
else
|
else
|
||||||
-rm -f $(addsuffix /*$(EXEEXT),$(DIRS))
|
-rm -f $(addsuffix /*$(EXEEXT),$(DIRS))
|
||||||
endif
|
endif
|
||||||
-rm -f log faillist ts_fail tf_fail
|
-rm -f log faillist ts_fail tf_fail
|
||||||
-rm -f fpcmaked ppas.sh ppas.bat retcode
|
-rm -f fpcmaked ppas.sh ppas.bat retcode
|
||||||
|
|
||||||
info :
|
info :
|
||||||
@echo This Makefile allows to test the compiler
|
@echo This Makefile allows to test the compiler
|
||||||
@echo compilation of 'ts*.pp' should succeed
|
@echo compilation of 'ts*.pp' should succeed
|
||||||
@echo compilation of 'tf*.pp' should fail
|
@echo compilation of 'tf*.pp' should fail
|
||||||
@echo compilation of 'test*.pp' should succeed
|
@echo compilation of 'test*.pp' should succeed
|
||||||
@echo 'to*.pp' files should also compile
|
@echo 'to*.pp' files should also compile
|
||||||
@echo simply run \'make tests\' to test all compilation
|
@echo simply run \'make tests\' to test all compilation
|
||||||
@echo run \'make allexec\' to test also if the executables
|
@echo run \'make allexec\' to test also if the executables
|
||||||
@echo created behave like the should
|
@echo created behave like the should
|
||||||
@echo run \'make tesiexec\' to test executables
|
@echo run \'make tesiexec\' to test executables
|
||||||
@echo that require interactive mode
|
@echo that require interactive mode
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user