prodos-drivers/Makefile

22 lines
376 B
Makefile
Raw Normal View History

2017-11-11 20:44:15 -08:00
CAFLAGS = --target apple2enh --list-bytes 0
2019-09-22 21:34:47 -07:00
LDFLAGS = --config apple2-asm.cfg
2017-11-11 20:44:15 -08:00
2017-12-12 14:54:27 -08:00
TARGETS = bye.system.SYS buhbye.system.SYS
2017-11-11 20:44:15 -08:00
.PHONY: clean all
all: $(TARGETS)
HEADERS = $(wildcard *.inc)
clean:
rm -f *.o
rm -f $(TARGETS)
%.o: %.s $(HEADERS)
2019-09-22 21:34:47 -07:00
ca65 $(CAFLAGS) --listing $(basename $@).list -o $@ $<
2017-11-11 20:44:15 -08:00
%.SYS: %.o
2019-09-22 21:34:47 -07:00
ld65 $(LDFLAGS) -o $@ $<
2017-12-09 16:50:35 -08:00
xattr -wx prodos.AuxType '00 20' $@