mirror of
https://github.com/a2stuff/vnIIc.git
synced 2024-09-27 15:55:41 +00:00
23 lines
345 B
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 $@ $<
|