summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2004-08-22 01:06:09 +0000
committerIan C <ianc@noddybox.co.uk>2004-08-22 01:06:09 +0000
commit09c566e6916d431606284a527ce373c103be39dc (patch)
treeb32cea5c524fb979a9ff3cc53d95f676f0e52982 /test/Makefile
parent1c7d0b339d578511be239c175ef2096e6e8aa6e2 (diff)
Initial working version
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile74
1 files changed, 74 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
new file mode 100644
index 0000000..a4cf8c3
--- /dev/null
+++ b/test/Makefile
@@ -0,0 +1,74 @@
+# int2tap - Convert an Intel segment file to a loadable Spectrum tape file
+#
+# Copyright (C) 2004 Ian Cowburn (ianc@noddybox.demon.co.uk)
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+# -------------------------------------------------------------------------
+#
+# $Id: Makefile,v 1.1 2004-08-22 01:06:09 ianc Exp $
+#
+
+test1: ../int2tap code.bin
+ ../int2tap test1.tap code.bin
+ fuse test1.tap
+
+test2: ../int2tap code.bin screen.bin
+ ../int2tap -a 0x8000 -s test2.tap screen.bin code.bin
+ fuse test2.tap
+
+test3: ../int2tap screen.bin
+ ../int2tap -b test3.tap screen.bin
+ fuse test3.tap
+
+test4: ../int2tap b2.bin
+ ../int2tap -b test4.tap b2.bin
+
+test5: ../int2tap code.bin
+ ../int2tap -b test5.tap code.bin
+ fuse test5.tap
+
+test6: ../int2tap ret.bin
+ ../int2tap test6.tap ret.bin
+ fuse test6.tap
+
+test7: ../int2tap part1.bin part2.bin
+ ../int2tap test7.tap part1.bin part2.bin
+ fuse test7.tap
+
+code.bin: code.asm
+ tpasm -P Z80 -o intel code.bin code.asm
+
+screen.bin: screen.asm
+ tpasm -P Z80 -o intel screen.bin screen.asm
+
+b2.bin: b2.asm
+ tpasm -P Z80 -o intel b2.bin b2.asm
+
+ret.bin: ret.asm
+ tpasm -P Z80 -o intel ret.bin ret.asm
+
+part1.bin: part1.asm
+ tpasm -P Z80 -o intel part1.bin part1.asm
+
+part2.bin: part2.asm
+ tpasm -P Z80 -o intel part2.bin part2.asm
+
+../int2tap: ../*.[ch]
+ cd .. ; make ; cd test
+
+clean:
+ rm -f *.bin *.tap core
+