1 #I know, this is quick and dirty...
4 all: libcor.o test_connect test_connect2 test_invalidconnect test_listen test_neigh test_route test_routed test_routed2
7 rm libcor.o test_connect test_connect.o test_connect2 test_connect2.o \
8 test_invalidconnect test_invalidconnect.o \
9 test_listen test_listen.o test_neigh test_neigh.o \
10 test_route test_route.o test_routed test_routed.o \
11 test_routed2 test_routed2.o
14 libcor.o
: libcor.c libcor.h
18 test_connect
: test_connect.o libcor.o
19 gcc
-g
-o test_connect test_connect.o libcor.o
21 test_connect.o
: test_connect.c libcor.h
22 gcc
-g
-c test_connect.c
25 test_connect2
: test_connect2.o libcor.o
26 gcc
-g
-o test_connect2 test_connect2.o libcor.o
28 test_connect2.o
: test_connect2.c libcor.h
29 gcc
-g
-c test_connect2.c
32 test_invalidconnect
: test_invalidconnect.o libcor.o
33 gcc
-g
-o test_invalidconnect test_invalidconnect.o libcor.o
35 test_invalidconnect.o
: test_invalidconnect.c libcor.h
36 gcc
-g
-c test_invalidconnect.c
39 test_listen
: test_listen.o libcor.o
40 gcc
-g
-o test_listen test_listen.o libcor.o
42 test_listen.o
: test_listen.c libcor.h
43 gcc
-g
-c test_listen.c
46 test_neigh
: test_neigh.o libcor.o
47 gcc
-g
-o test_neigh test_neigh.o libcor.o
49 test_neigh.o
: test_neigh.c libcor.h
50 gcc
-g
-c test_neigh.c
53 test_route
: test_route.o libcor.o
54 gcc
-g
-o test_route test_route.o libcor.o
56 test_route.o
: test_route.c libcor.h
57 gcc
-g
-c test_route.c
60 test_routed
: test_routed.o libcor.o
61 gcc
-g
-o test_routed test_routed.o libcor.o
63 test_routed.o
: test_routed.c libcor.h
64 gcc
-g
-c test_routed.c
67 test_routed2
: test_routed2.o libcor.o
68 gcc
-g
-o test_routed2 test_routed2.o libcor.o
70 test_routed2.o
: test_routed2.c libcor.h
71 gcc
-g
-c test_routed2.c