aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-11-10 13:11:44 -0500
committerB. Watson <urchlay@slackware.uk>2022-11-10 13:11:44 -0500
commitfff4e5a818e6fe74c0d2e322a0feb447f9de722d (patch)
tree1631ad07ee4ac0bd194f14d719126e18f7e0c576 /Makefile
parentf14004fcd8c795bfab14d7c7f2fc9bba0ba2a217 (diff)
downloaddla-asm-fff4e5a818e6fe74c0d2e322a0feb447f9de722d.tar.gz
Report write errors in dla2csv, add disk and disktest make targets.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 802a2bd..a1f119f 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,12 @@ dla2csv: dla2csv.c
$(CC) $(CFLAGS) -o dla2csv dla2csv.c \
|| echo "Couldn't build host dla2csv; continuing without it"
+disk: drive1.atr
+
+drive1.atr: all
+ axe -w dla.xex drive1.atr
+ axe -w dla2csv.xex drive1.atr
+
clean:
rm -f dla.xex dla2csv dla2csv.xex dla.list dla.labels *.o
@@ -33,6 +39,9 @@ distclean: clean
test: all
atari800 dla.xex
+disktest: disk
+ atari800 drive1.atr
+
%.xex: %.s
$(CL65) $(CL65FLAGS) -t none -o $@ $<