2021-01-28 22:28:59 +00:00
|
|
|
AFLAGS = -g
|
|
|
|
LFLAGS = -C apple1cartridge.cfg -Ln applesoft-lite.label
|
2017-05-11 20:42:22 +00:00
|
|
|
BINFILE = applesoft-lite.bin
|
2021-01-16 00:08:36 +00:00
|
|
|
OBJS = applesoft-lite.o io.o apple1serial.o
|
2021-01-28 22:28:59 +00:00
|
|
|
LABELS = applesoft-lite.label
|
2017-05-11 20:42:22 +00:00
|
|
|
|
|
|
|
$(BINFILE): $(OBJS)
|
|
|
|
ld65 $(LFLAGS) $(OBJS) -o $(BINFILE)
|
|
|
|
|
|
|
|
applesoft-lite.o: applesoft-lite.s
|
|
|
|
ca65 $(AFLAGS) $<
|
|
|
|
|
|
|
|
wozmon.o: wozmon.s
|
|
|
|
ca65 $(AFLAGS) $<
|
|
|
|
|
2021-01-16 00:08:36 +00:00
|
|
|
apple1serial.o: apple1serial.s
|
2017-05-11 20:42:22 +00:00
|
|
|
ca65 $(AFLAGS) $<
|
|
|
|
|
|
|
|
io.o: io.s
|
|
|
|
ca65 $(AFLAGS) $<
|
|
|
|
|
|
|
|
clean:
|
2021-01-28 22:28:59 +00:00
|
|
|
rm $(OBJS) $(BINFILE) $(LABELS)
|