prodos-drivers/Makefile

23 lines
414 B
Makefile
Raw Normal View History

2017-11-12 04:44:15 +00:00
CC65 = ~/dev/cc65/bin
CAFLAGS = --target apple2enh --list-bytes 0
CCFLAGS = --config apple2-asm.cfg
2017-12-12 22:54:27 +00:00
TARGETS = bye.system.SYS buhbye.system.SYS
2017-11-12 04:44:15 +00:00
.PHONY: clean all
all: $(TARGETS)
HEADERS = $(wildcard *.inc)
clean:
rm -f *.o
rm -f $(TARGETS)
%.o: %.s $(HEADERS)
$(CC65)/ca65 $(CAFLAGS) --listing $(basename $@).list -o $@ $<
%.SYS: %.o
$(CC65)/ld65 $(CCFLAGS) -o $@ $<
2017-12-10 00:50:35 +00:00
xattr -wx prodos.AuxType '00 20' $@