aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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