mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-11-08 19:10:52 +00:00
e2a6916c57
git-svn-id: http://svn.code.sf.net/p/netboot65/code@83 93682198-c243-4bdb-bd91-e943c89aac3b
47 lines
456 B
Makefile
47 lines
456 B
Makefile
AS=ca65
|
|
LD=ld65
|
|
AFLAGS=
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
%.o: %.s
|
|
$(AS) $(AFLAGS) $<
|
|
|
|
|
|
ETHOBJS= \
|
|
copymem.o \
|
|
config.o \
|
|
timer.o \
|
|
cs8900a.o \
|
|
eth.o \
|
|
arp.o \
|
|
ip.o \
|
|
icmp.o \
|
|
udp.o \
|
|
ip65.o \
|
|
printf.o \
|
|
debug.o \
|
|
dhcp.o \
|
|
dns.o \
|
|
dottedquad.o \
|
|
output_buffer.o\
|
|
tftp.o \
|
|
function_dispatcher.o \
|
|
|
|
all: ip65.lib
|
|
|
|
|
|
ip65.lib: $(ETHOBJS)
|
|
ar65 a ip65.lib $^
|
|
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f ip65.lib
|
|
|
|
|
|
distclean: clean
|
|
rm -f *~
|