aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-10-24 03:35:32 -0400
committerB. Watson <urchlay@slackware.uk>2022-10-24 03:35:32 -0400
commit0ce40f8d4e3ded5b6f80a810d33eae532d84c634 (patch)
tree5693eeddad62706819249539fdd0660b7442255b /Makefile
downloaddla-asm-0ce40f8d4e3ded5b6f80a810d33eae532d84c634.tar.gz
initial commit (v0.0.3)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..7af560a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+CL65 = cl65
+CL65FLAGS =
+PERL = perl
+
+all: dla.xex
+
+dla.xex: dla.s io.s dlatbl.s xex.inc
+ $(CL65) $(CL65FLAGS) -l dla.list -Ln dla.labels -t none -o dla.xex dla.s
+
+dlatbl.s: mkdlatbl.pl
+ $(PERL) mkdlatbl.pl > dlatbl.s
+
+clean:
+ rm -f dla.xex dlatbl.s dla.list dla.labels *.o
+
+test: all
+ atari800 -turbo dla.xex