Doc directory - README.
Make suffix of executables to be run on simulator .run
This commit is contained in:
parent
b83adf4eeb
commit
2bc779d782
@ -46,6 +46,7 @@ Things-to-lose:
|
||||
|
||||
common
|
||||
tic80-coff
|
||||
README
|
||||
|
||||
Do-last:
|
||||
|
||||
|
@ -1,3 +1,7 @@
|
||||
Wed Sep 3 14:32:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* Makefile.in (.o.run): Replace .tx59 with .run.
|
||||
|
||||
Mon Sep 1 16:58:13 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||
|
||||
* Makefile.in (TESTS): Add t-psrlvw, t-pabsh, t-pabsw.
|
||||
|
@ -157,20 +157,20 @@ sanity:
|
||||
|
||||
# Rules for running the tests
|
||||
|
||||
.SUFFIXES: .u .uue .ok .ok .tx59 .hi .ko .ko
|
||||
.tx59.ok:
|
||||
.SUFFIXES: .u .uue .ok .ok .run .hi .ko .ko
|
||||
.run.ok:
|
||||
rm -f tmp-$* $*.hi
|
||||
ulimit -t 5 ; $(RUN_FOR_TARGET) $*.tx59 > tmp-$*
|
||||
ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
|
||||
mv tmp-$* $*.ok
|
||||
.tx59.hi:
|
||||
.run.hi:
|
||||
rm -f tmp-$* $*.hi diff-$*
|
||||
ulimit -t 5 ; $(RUN_FOR_TARGET) $*.tx59 > tmp-$*
|
||||
ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
|
||||
echo "Hello World" | diff - tmp-$* > diff-$*
|
||||
cat tmp-$* diff-$* > $*.hi
|
||||
.tx59.ko:
|
||||
.run.ko:
|
||||
rm -f tmp-$* $*.ko
|
||||
set +e ; \
|
||||
ulimit -t 5 ; $(RUN_FOR_TARGET) $*.tx59 > tmp-$* ; \
|
||||
ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$* ; \
|
||||
if [ $$? -eq 47 ] ; then \
|
||||
exit 0 ; \
|
||||
else \
|
||||
@ -182,13 +182,13 @@ sanity:
|
||||
# Rules for building all the tests and packing them into
|
||||
# uuencoded files.
|
||||
|
||||
.tx59.u:
|
||||
uuencode < $*.tx59 $*.tx59 > $*.u
|
||||
.run.u:
|
||||
uuencode < $*.run $*.run > $*.u
|
||||
@echo "Move $*.u $*.uue"
|
||||
.uue.tx59:
|
||||
.uue.run:
|
||||
uudecode $(srcdir)/$*.uue
|
||||
.o.tx59:
|
||||
$(LD_FOR_TARGET) -Ttext 0xa0020000 -o $*.tx59 $*.o
|
||||
.o.run:
|
||||
$(LD_FOR_TARGET) -Ttext 0xa0020000 -o $*.run $*.o
|
||||
.s.o:
|
||||
$(AS_FOR_TARGET) -I $(srcdir) $(srcdir)/$*.s -o $*.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user