Build: Use cc65's make avail

This commit is contained in:
Joshua Bell 2019-09-22 21:34:47 -07:00
parent 320edcb634
commit 16599fc4b9
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
CC65 = ~/dev/cc65/bin
CAFLAGS = --target apple2enh --list-bytes 0
CCFLAGS = --config apple2-asm.cfg
LDFLAGS = --config apple2-asm.cfg
TARGETS = bye.system.SYS buhbye.system.SYS
@ -15,8 +14,8 @@ clean:
rm -f $(TARGETS)
%.o: %.s $(HEADERS)
$(CC65)/ca65 $(CAFLAGS) --listing $(basename $@).list -o $@ $<
ca65 $(CAFLAGS) --listing $(basename $@).list -o $@ $<
%.SYS: %.o
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
ld65 $(LDFLAGS) -o $@ $<
xattr -wx prodos.AuxType '00 20' $@