Small makefile related fixes

This commit is contained in:
Zorchenhimer 2025-12-18 21:33:31 -05:00
parent 01808f22ef
commit 08a1445d83
Signed by: Zorchenhimer
GPG Key ID: 70A1AB767AAB9C20
2 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,8 @@
export PATH := $(PATH):/home/nick/code/nes/go-fds/bin export PATH := $(PATH):/home/nick/code/nes/go-fds/bin
all: dasm/disksys.asm \ all: dasm/ bins/ \
dasm/disksys.asm \
dasm/dk3_file4.asm \ dasm/dk3_file4.asm \
dasm/dk3_file4-post-copy.asm dasm/dk3_file4-post-copy.asm
@ -11,7 +12,10 @@ dasm/dk3_file4-post-copy.asm: bins/dk3_file4.bin dk3_file4-post-copy.cfg labels.
dasm/disksys.asm: disksys.cfg labels.cfg dasm/disksys.asm: disksys.cfg labels.cfg
clean: clean:
-rm dasm/* -rm dasm/* bins/*
%/:
mkdir $@
dasm/%.asm: %.cfg.tmp dasm/%.asm: %.cfg.tmp
da65 -i $< -o $@ da65 -i $< -o $@

View File

@ -1,7 +1,7 @@
global { global {
cpu "6502"; cpu "6502";
inputname "roms/dk3_file4.bin"; inputname "bins/dk3_file4.bin";
startaddr $DC00; startaddr $7C00;
commentcolumn 50; commentcolumn 50;
comments 3; comments 3;
}; };