From 7d884b4fff73b959907c7479097e79f7691cf116 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Sun, 22 Sep 2019 21:33:19 -0700 Subject: [PATCH] Build: Use cc65's make avail --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0638252..7d7d26a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ -CC65 = ~/dev/cc65/bin CAFLAGS = --target apple2enh --list-bytes 0 -CCFLAGS = --config apple2-asm.cfg +LDFLAGS = --config apple2-asm.cfg OUTDIR = out @@ -22,8 +21,8 @@ clean: $(OUTDIR)/%.o: %.s $(HEADERS) - $(CC65)/ca65 $(CAFLAGS) $(DEFINES) --listing $(basename $@).list -o $@ $< + ca65 $(CAFLAGS) $(DEFINES) --listing $(basename $@).list -o $@ $< $(OUTDIR)/%.BIN $(OUTDIR)/%.SYS: $(OUTDIR)/%.o - $(CC65)/ld65 $(CCFLAGS) -o $@ $< + ld65 $(LDFLAGS) -o $@ $< xattr -wx prodos.AuxType '00 20' $@