2011-01-15 00:34:09 +00:00
|
|
|
# ip65.lib : minimal IP stack (UDP only)
|
|
|
|
# ip65_tcp.lib : full featured TCP/IP stack
|
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
all: ip65.lib ip65_tcp.lib
|
2009-01-22 01:27:03 +00:00
|
|
|
|
|
|
|
%.o: %.s
|
2014-06-12 22:00:53 +00:00
|
|
|
ca65 $<
|
2010-12-09 10:12:40 +00:00
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
%_tcp.o: %.s
|
|
|
|
ca65 -DTCP -o $@ $<
|
|
|
|
|
|
|
|
IP65OBJS=\
|
2017-10-27 20:51:16 +00:00
|
|
|
arithmetic.o \
|
2009-01-22 01:27:03 +00:00
|
|
|
arp.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
config.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
config_c.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
copymem.o \
|
2010-12-09 10:12:40 +00:00
|
|
|
dhcp.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
dhcp_c.o \
|
2010-12-09 10:12:40 +00:00
|
|
|
dns.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
dns_c.o \
|
2010-12-09 10:12:40 +00:00
|
|
|
dottedquad.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
dottedquad_c.o \
|
2018-07-22 17:22:57 +00:00
|
|
|
download.o \
|
|
|
|
download_c.o \
|
2018-07-27 15:23:26 +00:00
|
|
|
driver_c.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
eth.o \
|
|
|
|
http.o \
|
2017-12-07 22:03:04 +00:00
|
|
|
http_c.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
httpd.o \
|
2017-12-07 22:03:04 +00:00
|
|
|
httpd_c.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
icmp_c.o \
|
2017-11-05 21:55:55 +00:00
|
|
|
input_c.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
ip65.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
ip65_c.o \
|
2017-11-06 22:36:44 +00:00
|
|
|
tcp_c.o \
|
2010-12-09 10:12:40 +00:00
|
|
|
tftp.o \
|
2018-07-20 12:51:20 +00:00
|
|
|
tftp_c.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
timer.o \
|
2017-11-05 22:16:34 +00:00
|
|
|
timer_c.o \
|
2017-10-27 20:51:16 +00:00
|
|
|
output_buffer.o \
|
2010-12-09 10:12:40 +00:00
|
|
|
parser.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
sntp.o \
|
2017-11-09 20:48:08 +00:00
|
|
|
sntp_c.o \
|
2010-12-09 10:12:40 +00:00
|
|
|
string_utils.o \
|
2014-06-12 22:00:53 +00:00
|
|
|
udp.o \
|
2017-11-05 13:28:49 +00:00
|
|
|
udp_c.o \
|
2018-07-20 16:12:51 +00:00
|
|
|
url.o \
|
|
|
|
url_c.o
|
2013-12-15 21:50:01 +00:00
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
ip65.lib: $(IP65OBJS) ip.o icmp.o
|
|
|
|
ar65 a $@ $^
|
2009-01-22 01:27:03 +00:00
|
|
|
|
2014-06-12 22:00:53 +00:00
|
|
|
ip65_tcp.lib: $(IP65OBJS) ip_tcp.o icmp_tcp.o tcp.o
|
|
|
|
ar65 a $@ $^
|
2009-01-22 01:27:03 +00:00
|
|
|
|
|
|
|
clean:
|
2013-12-27 13:48:16 +00:00
|
|
|
-rm -f *.o
|
2014-06-12 22:00:53 +00:00
|
|
|
-rm -f *.lib
|