mirror of
https://github.com/bobbimanners/emailler.git
synced 2025-01-10 03:29:34 +00:00
1f47cd7faa
git-svn-id: http://svn.code.sf.net/p/netboot65/code@301 93682198-c243-4bdb-bd91-e943c89aac3b
46 lines
783 B
Makefile
46 lines
783 B
Makefile
AS=ca65
|
|
LD=ld65
|
|
AFLAGS=
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
%.o: %.s
|
|
$(AS) $(AFLAGS) $<
|
|
|
|
|
|
|
|
DRIVERS=\
|
|
apple2prog.lib \
|
|
c64rrnet.lib \
|
|
c64wiznet.lib \
|
|
vic20rrnet.lib \
|
|
|
|
|
|
all: $(DRIVERS)
|
|
|
|
|
|
apple2prog.lib: a2print.o uthernet.o a2timer.o a2kernal.o a2input.o a2charconv.o cs8900a.o
|
|
ar65 a $@ $^
|
|
|
|
c64rrnet.lib: c64print.o rr-net.o c64timer.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o c64_vt100.o cs8900a.o
|
|
ar65 a $@ $^
|
|
|
|
c64wiznet.lib: w5100.o c64print.o c64timer.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o c64_vt100.o
|
|
ar65 a $@ $^
|
|
|
|
vic20rrnet.lib: c64print.o vic20-rr-net.o vic20timer.o c64kernal.o c64inputs.o c64_disk_access.o c64charconv.o cs8900a.o
|
|
ar65 a $@ $^
|
|
|
|
|
|
# ar65 a $@ $^
|
|
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *.lib
|
|
|
|
distclean: clean
|
|
rm -f *~
|