]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - packages/net/common/v2_0/tests/make.host
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / net / common / v2_0 / tests / make.host
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