From f2a7789fa016371538e64f1220539554769f2e2b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 11 Nov 2022 16:04:17 -0500 Subject: v0.2.1: Prepend D: to Save filename if needed. Move VERSION out of the Makefile. --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Makefile') 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 ; \ -- cgit v1.2.3