vnIIc/client/Makefile

23 lines
345 B
Makefile

CAFLAGS = --target apple2enh --list-bytes 0
LDFLAGS = --config apple2-asm.cfg
TARGETS = \
client.bin
.PHONY: clean all
all: $(TARGETS)
HEADERS = $(wildcard *.inc)
clean:
rm -f *.o
rm -f *.list
rm -f $(TARGETS)
%.o: %.s $(HEADERS)
ca65 $(CAFLAGS) $(DEFINES) --listing $(basename $@).list -o $@ $<
%.bin: %.o
ld65 $(LDFLAGS) -o $@ $<