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