comparison packages/net/common/current/tests/make.host @ 936:c77314a3f0fd

* tests/linux_echo.c: Renamed to.... * tests/host_echo.c: this new file. Change comment to indicate this. * tests/make.linux: Renamed to.... * tests/make.host: this new file. Change comment to indicate this. Also linux_echo -> host_echo, and add clean target. * doc/tcpip.sgml: Reflect above.
author jlarmour
date Fri, 11 Apr 2003 21:01:09 +0000
parents
children
comparison
equal deleted inserted replaced
935:aa074daf1f12 936:c77314a3f0fd
1 #
2 # Simple *HOST SIDE* makefile for network tests
3 #
4
5 CC = cc
6 CFLAGS = -O2 -g
7
8 ALL = nc_test_master nc_test_slave tcp_source tcp_sink host_echo
9 ALL += nc6_test_master nc6_test_slave
10
11 all: ${ALL}
12
13 clean:
14 rm -f $(ALL)
15
16 nc_test_master: nc_test_framework.h nc_test_master.c
17 $(CC) -o $@ ${CFLAGS} nc_test_master.c
18
19 nc_test_slave: nc_test_framework.h nc_test_slave.c
20 $(CC) -o $@ ${CFLAGS} nc_test_slave.c
21
22 tcp_source: tcp_source.c
23 $(CC) -o $@ ${CFLAGS} tcp_source.c
24
25 tcp_sink: tcp_sink.c
26 $(CC) -o $@ ${CFLAGS} tcp_sink.c
27
28 host_echo: host_echo.c
29 $(CC) -o $@ ${CFLAGS} host_echo.c
30