2017-11-05 13:28:49 +00:00
|
|
|
# For assembler programs
|
|
|
|
# ----------------------
|
2019-05-05 17:14:17 +00:00
|
|
|
# c64rrnet.lib : C64 with RR-Net (or clone)
|
|
|
|
# c64eth64.lib : C64 with ETH64
|
|
|
|
# c64combo.lib : C64 with RR-Net or ETH64
|
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)
|
2019-05-05 17:14:17 +00:00
|
|
|
# atrdragon.lib : ATARI 8-bit with Dragon Cart
|
|
|
|
# vic20rrnet.lib : VIC20 with RR-Net (or clone)
|
2010-12-09 10:12:40 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
# For C programs
|
|
|
|
# --------------
|
2019-05-05 17:14:17 +00:00
|
|
|
# ip65_c64.lib : C64 with RR-Net or ETH64
|
2017-11-27 22:22:47 +00:00
|
|
|
# ip65_apple2.lib : Apple ][ with Uthernet or LANceGS or Uthernet II (default slot: #3)
|
2019-05-05 17:14:17 +00:00
|
|
|
# ip65_atari.lib : ATARI 8-bit with Dragon Cart
|
|
|
|
# ip65_atarixl.lib : ATARI XL with Dragon Cart
|
2017-11-05 13:28:49 +00:00
|
|
|
|
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
|
|
|
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 \
|
2018-08-01 00:11:14 +00:00
|
|
|
ip65_apple2_uther2.lib \
|
2015-08-28 13:19:52 +00:00
|
|
|
atrdragon.lib \
|
2017-11-05 13:28:49 +00:00
|
|
|
ip65_atari.lib \
|
2017-11-27 22:22:47 +00:00
|
|
|
ip65_atarixl.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
|
2019-04-28 16:49:50 +00:00
|
|
|
ca65 $<
|
2014-06-12 22:00:53 +00:00
|
|
|
|
2017-11-27 22:22:47 +00:00
|
|
|
%.xl.o: %.s
|
|
|
|
ca65 -o $*.xl.o -t atarixl $<
|
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
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=\
|
2018-02-02 19:34:59 +00:00
|
|
|
clk_timer.o \
|
|
|
|
c64_cps.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
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=\
|
2018-02-02 19:34:59 +00:00
|
|
|
clk_timer.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
atr_input.o
|
|
|
|
|
2017-11-27 22:22:47 +00:00
|
|
|
ATRXL_OBJS=\
|
2018-02-02 19:34:59 +00:00
|
|
|
clk_timer.xl.o \
|
2017-11-27 22:22:47 +00:00
|
|
|
atr_input.xl.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=\
|
|
|
|
cs8900adriver.o \
|
|
|
|
ethernet.o
|
2009-01-22 01:27:03 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
LAN91C96OBJS=\
|
|
|
|
lan91c96driver.o \
|
|
|
|
ethernet.o
|
2009-01-22 01:27:03 +00:00
|
|
|
|
2017-11-05 13:28:49 +00:00
|
|
|
W5100OBJS=\
|
|
|
|
w5100driver.o \
|
|
|
|
ethernet.o
|
2010-12-09 10:12:40 +00:00
|
|
|
|
2019-05-05 08:36:13 +00:00
|
|
|
rr-net.o uthernet.o dragoncart.o vic20-rr-net.o: cs8900a.s
|
|
|
|
|
|
|
|
eth64.o lancegs.o: lan91c96.s
|
|
|
|
|
|
|
|
uthernet2.o: w5100.s
|
|
|
|
|
|
|
|
c64combo.o a2combo.o: ethernetcombo.s
|
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
c64rrnet.lib: rr-net.o $(CS8900AOBJS) c64init.o $(C64OBJS)
|
2014-06-12 22:00:53 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
c64eth64.lib: eth64.o $(LAN91C96OBJS) c64init.o $(C64OBJS)
|
2015-07-07 17:43:32 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
c64combo.lib: rr-net.o eth64.o c64combo.o c64init.o $(C64OBJS)
|
2015-07-07 17:43:32 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
ip65_c64.lib: rr-net.o eth64.o c64combo.o c64init.o $(C64_OBJS)
|
2015-08-28 13:19:52 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
a2uther.lib: uthernet.o $(CS8900AOBJS) a2init.o $(A2OBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
a2lancegs.lib: lancegs.o $(LAN91C96OBJS) a2init.o $(A2OBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
a2uther2.lib: uthernet2.o $(W5100OBJS) a2init.o $(A2OBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
a2combo.lib: uthernet.o lancegs.o uthernet2.o a2combo.o a2init.o $(A2OBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
ip65_apple2.lib: uthernet.o lancegs.o uthernet2.o a2combo.o a2init.o $(A2_OBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
ip65_apple2_uther2.lib: uthernet2.o $(W5100OBJS) a2init.o $(A2_OBJS)
|
2018-08-01 00:11:14 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
atrdragon.lib: dragoncart.o $(CS8900AOBJS) atrinit.o $(ATROBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
ip65_atari.lib: dragoncart.o $(CS8900AOBJS) atrinit.o $(ATR_OBJS)
|
2017-11-05 13:28:49 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
ip65_atarixl.lib: dragoncart.o $(CS8900AOBJS) atrinit.o $(ATRXL_OBJS)
|
2017-11-27 22:22:47 +00:00
|
|
|
|
2019-05-02 12:44:24 +00:00
|
|
|
vic20rrnet.lib: vic20-rr-net.o $(CS8900AOBJS) vic20init.o $(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
|