emailler/drivers/Makefile
Oliver Schmidt 5c7ccf0fca Reduced size of typical binary.
The pretty small check_for_abort_key is used by DHCP and DNS which means it is used by about every IP65 program. The pretty large get_filtered_input on the other hand is very seldom used so it makes sense to put the latter in a separate module to keep it from ending up in binaries unused.
2015-02-16 22:29:22 +01:00

69 lines
1.3 KiB
Makefile

# c64rrnet.lib : C64 with RR-Net or clone (default base addr: $de0x)
# c64eth64.lib : C64 with ETH64 (default base addr: $de0x)
# 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)
# vic20rrnet.lib : VIC20 with RR-Net or clone (default base addr: $980x)
DRIVERS=\
c64rrnet.lib \
c64eth64.lib \
a2uther.lib \
a2lancegs.lib \
a2uther2.lib \
vic20rrnet.lib
all: $(DRIVERS)
%.o: %.s
ca65 -D DYN_DRV=0 $<
C64OBJS=\
contiki.o \
c64print.o \
c64timer.o \
c64kernal.o \
c64input.o \
c64filteredinput.o \
cbmcharconv.o
A2OBJS=\
contiki.o \
a2print.o \
a2timer.o \
a2kernal.o \
a2input.o \
a2filteredinput.o \
a2charconv.o
VIC20OBJS=\
contiki.o \
vic20print.o \
vic20timer.o \
vic20kernal.o \
vic20input.o \
vic20filteredinput.o \
cbmcharconv.o
c64rrnet.lib: rr-net.o cs8900a.o $(C64OBJS)
ar65 a $@ $^
c64eth64.lib: eth64.o lan91c96.o $(C64OBJS)
ar65 a $@ $^
a2uther.lib: uthernet.o cs8900a.o $(A2OBJS)
ar65 a $@ $^
a2lancegs.lib: lancegs.o lan91c96.o $(A2OBJS)
ar65 a $@ $^
a2uther2.lib: uthernet2.o w5100.o $(A2OBJS)
ar65 a $@ $^
vic20rrnet.lib: vic20-rr-net.o cs8900a.o $(VIC20OBJS)
ar65 a $@ $^
clean:
-rm -f *.o
-rm -f *.lib