Assume cc65 is in PATH

This commit is contained in:
Joshua Bell 2019-12-08 15:58:24 -08:00
parent 4a578b395a
commit cedd5f0e0f

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
OUTDIR = out
@ -28,8 +27,8 @@ clean:
rm -f $(OUTDIR)/$(TARGETS)
$(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' $@