mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-01 06:29:23 +00:00
6b50c4b638
- Added exit_to_basic symbol. - Aligned linker config with C64 linker config. - Made switch to lower charset compatible. Allow all test programs to run with LANceGS card. Aligned C64 input file name.
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
AS = ca65
|
|
LD = ld65
|
|
AFLAGS =
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
%.o: %.s
|
|
$(AS) $(AFLAGS) $<
|
|
|
|
# c64rrnet.lib : C64 with RR-NET or clone at $de0x
|
|
# c64wiznet.lib : C64 with Wiznet W5100 addressed at $df2x
|
|
# a2uther.lib : Apple ][ with Uthernet in slot #3
|
|
# a2lancegs.lib : Apple ][ with LANceGS
|
|
# vic20rrnet.lib : VIC20 with RR-NET or clone at $980x
|
|
|
|
DRIVERS=\
|
|
c64rrnet.lib \
|
|
c64wiznet.lib \
|
|
a2uther.lib \
|
|
a2lancegs.lib \
|
|
vic20rrnet.lib
|
|
|
|
all: $(DRIVERS)
|
|
|
|
c64rrnet.lib: rr-net.o cs8900a.o c64print.o c64timer.o c64kernal.o c64input.o petscii_charconv.o generic_zero_page.o
|
|
ar65 a $@ $^
|
|
|
|
c64wiznet.lib: w5100.o c64print.o c64timer.o c64kernal.o c64input.o petscii_charconv.o generic_zero_page.o
|
|
ar65 a $@ $^
|
|
|
|
a2lancegs.lib: lan91c96.o a2print.o a2timer.o a2kernal.o a2input.o a2charconv.o a2_zero_page.o
|
|
ar65 a $@ $^
|
|
|
|
a2uther.lib: uthernet.o cs8900a.o a2print.o a2timer.o a2kernal.o a2input.o a2charconv.o a2_zero_page.o
|
|
ar65 a $@ $^
|
|
|
|
vic20rrnet.lib: vic20-rr-net.o cs8900a.o vic20print.o vic20timer.o vic20kernal.o vic20input.o petscii_charconv.o generic_zero_page.o
|
|
ar65 a $@ $^
|
|
|
|
clean:
|
|
-rm -f *.o
|
|
-rm -f *.lib
|
|
|
|
distclean: clean
|
|
-rm -f *~
|