2017-11-05 13:28:49 +00:00
|
|
|
# For assembler programs
|
|
|
|
# ----------------------
|
2015-07-07 17:43:32 +00:00
|
|
|
# c64rrnet.lib : C64 with RR-Net (or clone) (default base addr: $de0x)
|
2014-06-12 22:00:53 +00:00
|
|
|
# c64eth64.lib : C64 with ETH64 (default base addr: $de0x)
|
2015-07-07 17:43:32 +00:00
|
|
|
# c64wiz811.lib : C64 with WIZ811MJ (default base addr: $de0x)
|
|
|
|
# c64combo.lib : C64 with RR-Net or ETH64 or WIZ811MJ (default base addr: $de0x)
|
2014-06-12 22:00:53 +00:00
|
|
|
# a2uther.lib : Apple ][ with Uthernet (default slot: #3)
|
|
|
|
# a2lancegs.lib : Apple ][ with LANceGS (default slot: #3)
|
|
|
|
# a2uther2.lib : Apple ][ with Uthernet II (default slot: #3)
|
2015-07-07 17:43:32 +00:00
|
|
|
# a2combo.lib : Apple ][ with Uthernet or LANceGS or Uthernet II (default slot: #3)
|
2015-08-28 13:19:52 +00:00
|
|
|
# atrdragon.lib : ATARI 8-bit with Dragon Cart (default base addr: $d500)
|
2014-06-12 22:00:53 +00:00
|
|
|
# vic20rrnet.lib : VIC20 with RR-Net or clone (default base addr: $980x)
|
2010-12-09 10:12:40 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
# For C programs
|
|
|
|
# --------------
|
|
|
|
# ip65_c64.lib : C64 with RR-Net or ETH64 or WIZ811MJ (default base addr: $de0x)
|
|
|
|
# ip65_apple2.lib : Apple ][ with Uthernet or LANceGS or Uthernet II (default slot: #3)
|
|
|
|
# ip65_atari.lib : ATARI 8-bit with Dragon Cart (default base addr: $d500)
|
|
|
|
|
2010-12-09 10:12:40 +00:00
|
|
|
DRIVERS=\
|
2010-12-10 13:12:18 +00:00
|
|
|
c64rrnet.lib \
|
2014-06-12 22:00:53 +00:00
|
|
|
c64eth64.lib \
|
2015-07-07 17:43:32 +00:00
|
|
|
c64wiz811.lib \
|
|
|
|
c64combo.lib \
|
2017-11-05 13:28:49 +00:00
|
|
|
ip65_c64.lib \
|
2013-12-29 22:39:35 +00:00
|
|
|
a2uther.lib \
|
|
|
|
a2lancegs.lib \
|
2014-06-12 22:00:53 +00:00
|
|
|
a2uther2.lib \
|
2015-07-07 17:43:32 +00:00
|
|
|
a2combo.lib \
|
2017-11-05 13:28:49 +00:00
|
|
|
ip65_apple2.lib \
|
2015-08-28 13:19:52 +00:00
|
|
|
atrdragon.lib \
|
2017-11-05 13:28:49 +00:00
|
|
|
ip65_atari.lib \
|
2013-12-15 21:50:01 +00:00
|
|
|
vic20rrnet.lib
|
2011-01-08 14:03:52 +00:00
|
|
|
|
2009-01-22 01:27:03 +00:00
|
|
|
all: $(DRIVERS)
|
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
$(DRIVERS):
|
|
|
|
ar65 a $@ $^
|
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
%.o: %.s
|
|
|
|
ca65 -D DYN_DRV=0 $<
|
|
|
|
|
|
|
|
C64OBJS=\
|
|
|
|
c64print.o \
|
|
|
|
c64timer.o \
|
|
|
|
c64kernal.o \
|
|
|
|
c64input.o \
|
2015-02-16 21:29:22 +00:00
|
|
|
c64filteredinput.o \
|
2017-05-18 22:12:42 +00:00
|
|
|
c64vt100.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
cbmcharconv.o
|
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
C64_OBJS=\
|
|
|
|
c64timer.o \
|
|
|
|
c64_input.o
|
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
A2OBJS=\
|
|
|
|
a2print.o \
|
|
|
|
a2timer.o \
|
|
|
|
a2kernal.o \
|
|
|
|
a2input.o \
|
2015-02-16 21:29:22 +00:00
|
|
|
a2filteredinput.o \
|
2017-05-18 22:12:42 +00:00
|
|
|
a2vt100.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
a2charconv.o
|
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
A2_OBJS=\
|
|
|
|
a2_timer.o \
|
|
|
|
a2_input.o
|
|
|
|
|
2015-08-28 13:19:52 +00:00
|
|
|
ATROBJS=\
|
|
|
|
atrprint.o \
|
|
|
|
atrtimer.o \
|
|
|
|
atrkernal.o \
|
|
|
|
atrinput.o \
|
2017-05-18 21:48:15 +00:00
|
|
|
atrfilteredinput.o \
|
2017-05-18 22:12:42 +00:00
|
|
|
atrvt100.o \
|
2017-09-01 20:33:39 +00:00
|
|
|
atrvt100font.o \
|
2015-08-28 13:19:52 +00:00
|
|
|
atrcharconv.o
|
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
ATR_OBJS=\
|
|
|
|
atrtimer.o \
|
|
|
|
atr_input.o
|
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
VIC20OBJS=\
|
|
|
|
vic20print.o \
|
|
|
|
vic20timer.o \
|
|
|
|
vic20kernal.o \
|
|
|
|
vic20input.o \
|
2015-02-16 21:29:22 +00:00
|
|
|
vic20filteredinput.o \
|
2017-05-18 22:12:42 +00:00
|
|
|
vic20vt100.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
cbmcharconv.o
|
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
CS8900AOBJS=\
|
|
|
|
cs8900a.o \
|
|
|
|
cs8900adriver.o \
|
|
|
|
ethernet.o
|
2009-01-22 01:27:03 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
LAN91C96OBJS=\
|
|
|
|
lan91c96.o \
|
|
|
|
lan91c96driver.o \
|
|
|
|
ethernet.o
|
2009-01-22 01:27:03 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
W5100OBJS=\
|
|
|
|
w5100.o \
|
|
|
|
w5100driver.o \
|
|
|
|
ethernet.o
|
2010-12-09 10:12:40 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
COMBOOBJS=\
|
|
|
|
cs8900a.o \
|
|
|
|
lan91c96.o \
|
|
|
|
w5100.o \
|
|
|
|
ethernetcombo.o
|
2011-01-08 14:03:52 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
c64rrnet.lib: c64init.o rr-net.o $(CS8900AOBJS) $(C64OBJS)
|
2014-06-12 22:00:53 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
c64eth64.lib: c64init.o eth64.o $(LAN91C96OBJS) $(C64OBJS)
|
2015-07-07 17:43:32 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
c64wiz811.lib: c64init.o wiz811mj.o $(W5100OBJS) $(C64OBJS)
|
2015-07-07 17:43:32 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
c64combo.lib: c64init.o rr-net.o eth64.o wiz811mj.o $(COMBOOBJS) $(C64OBJS)
|
2015-07-07 17:43:32 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
ip65_c64.lib: c64init.o rr-net.o eth64.o wiz811mj.o $(COMBOOBJS) $(C64_OBJS)
|
2015-08-28 13:19:52 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
a2uther.lib: a2init.o uthernet.o $(CS8900AOBJS) $(A2OBJS)
|
|
|
|
|
|
|
|
a2lancegs.lib: a2init.o lancegs.o $(LAN91C96OBJS) $(A2OBJS)
|
|
|
|
|
|
|
|
a2uther2.lib: a2init.o uthernet2.o $(W5100OBJS) $(A2OBJS)
|
|
|
|
|
|
|
|
a2combo.lib: a2initcombo.o uthernet.o lancegs.o uthernet2.o $(COMBOOBJS) $(A2OBJS)
|
|
|
|
|
|
|
|
ip65_apple2.lib: a2initcombo.o uthernet.o lancegs.o uthernet2.o $(COMBOOBJS) $(A2_OBJS)
|
|
|
|
|
|
|
|
atrdragon.lib: atrinit.o dragoncart.o $(CS8900AOBJS) $(ATROBJS)
|
|
|
|
|
|
|
|
ip65_atari.lib: atrinit.o dragoncart.o $(CS8900AOBJS) $(ATR_OBJS)
|
|
|
|
|
|
|
|
vic20rrnet.lib: vic20init.o vic20-rr-net.o $(CS8900AOBJS) $(VIC20OBJS)
|
2011-01-08 14:03:52 +00:00
|
|
|
|
2009-01-22 01:27:03 +00:00
|
|
|
clean:
|
2013-12-27 13:48:16 +00:00
|
|
|
-rm -f *.o
|
|
|
|
-rm -f *.lib
|