aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-11-11 16:04:17 -0500
committerB. Watson <urchlay@slackware.uk>2022-11-11 16:05:51 -0500
commitf2a7789fa016371538e64f1220539554769f2e2b (patch)
tree73ef63135571b811467a6663ccf54ec61cb60c23 /Makefile
parent17bba1ebffb8bb37299c0a2d3a57b3a4c51ab0fe (diff)
downloaddla-asm-f2a7789fa016371538e64f1220539554769f2e2b.tar.gz
v0.2.1: Prepend D: to Save filename if needed. Move VERSION out of the Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index ec4d009..15a4ac9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
# Makefile for dla-asm.
# See https://slackware.uk/~urchlay/repos/dla-asm
-VERSION=0.2.0
-
CL65=cl65
CL65FLAGS=
@@ -13,7 +11,7 @@ CFLAGS=-O2 -Wall
all: dla.xex dla2csv dla2csv.xex
-dla.xex: dla.s io.s dlatbl.s xex.inc printint.s render.s drunkwalk.s dlaver.inc
+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
@@ -21,10 +19,10 @@ dla2csv.xex: dla2csv.c dlaver.h
dlatbl.s: mkdlatbl.pl
$(PERL) mkdlatbl.pl > dlatbl.s
-dlaver.inc: dlaver.h
+#dlaver.inc: dlaver.h
-dlaver.h: mkver.pl
- $(PERL) mkver.pl $(VERSION)
+dlaver.h: mkver.pl VERSION
+ $(PERL) mkver.pl
dla2csv: dla2csv.c
@echo $(CC) $(CFLAGS) -o dla2csv dla2csv.c ; \