aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-11-11 19:37:05 -0500
committerB. Watson <urchlay@slackware.uk>2022-11-11 19:37:05 -0500
commitc137b0274dba5f91a03fab94d60d252338e0fd47 (patch)
tree153b2c47a20d14fd310550b662b626f7c18ed951 /Makefile
parent18da4023b7fb86f96023ed492e11268609ea62d4 (diff)
downloaddla-asm-c137b0274dba5f91a03fab94d60d252338e0fd47.tar.gz
Embed version number in dla2img.sh.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 15a4ac9..ae406f0 100644
--- a/Makefile
+++ b/Makefile
@@ -9,13 +9,16 @@ PERL=perl
CC=cc
CFLAGS=-O2 -Wall
-all: dla.xex dla2csv dla2csv.xex
+all: dla.xex dla2csv dla2csv.xex dla2img.sh
dla.xex: dla.s io.s dlatbl.s xex.inc printint.s render.s drunkwalk.s dlaver.h
$(CL65) $(CL65FLAGS) -l dla.list -Ln dla.labels -t none -o dla.xex dla.s
dla2csv.xex: dla2csv.c dlaver.h
+dla2img.sh: VERSION
+ $(PERL) d2iver.pl dla2img.sh
+
dlatbl.s: mkdlatbl.pl
$(PERL) mkdlatbl.pl > dlatbl.s