]> git.llucax.com Git - z.facultad/75.74/practicos.git/blob - practicas/pipi-1ra-entrega-corregida/src/Makefile
Se arregla una zona de ejemplo.
[z.facultad/75.74/practicos.git] / practicas / pipi-1ra-entrega-corregida / src / Makefile
1 # Makefile de ejemplo para C++
2
3 # Creado: jue abr 15 15:34:19 ART 2004
4 #
5 # Copyleft 2004 - Leandro Lucarella, Bajo licencia GPL [http://www.gnu.org/]
6 #
7
8 # CONFIGURACION 
9 ################
10
11 # Opciones para el compilador C/C++ en modo ansi.
12 CFLAGS = -Wall -ansi -pedantic-errors
13
14 # Para que explote lo mas posible
15 #CFLAGS += -O3 -DNDEBUG
16
17 # Para valgrind o debug
18 CFLAGS += -ggdb -DDEBUG
19
20 # Opciones para el compilador C++.
21 CXXFLAGS = $(CFLAGS) -fno-inline
22
23 # Opciones del enlazador.
24 #LDFLAGS=
25
26 # Compilador.
27 CC=g++
28
29 # Programas
30 targets=ip
31 tests=test_send test_recv test_ipaddr test_ipin test_ipout
32
33 # Fuentes
34 fuentes ?= $(wildcard *.cpp)
35
36
37 # REGLAS
38 #########
39
40 .PHONY: all clean
41
42 all: depend $(targets)
43
44 tests: depend $(tests)
45
46 test_send: test_send.o dev.o
47
48 test_recv: test_recv.o dev.o
49
50 test_ipaddr: test_ipaddr.o ipaddr.o ipheader.o
51
52 test_ipin: test_ipin.o ipin.o ipaddr.o ipheader.o dev.o
53
54 test_ipout: test_ipout.o ipout.o ipaddr.o ipheader.o dev.o routetable.o
55
56 ip: ip.o ipout.o ipin.o ipaddr.o ipheader.o dev.o routetable.o
57
58 depend:
59         @makedepend $(fuentes) > /dev/null 2>&1
60
61 clean:
62         @$(RM) -fv *.o Makefile.bak $(targets)
63
64 # DO NOT DELETE
65
66 dev.o: dev.h /usr/include/unistd.h /usr/include/features.h
67 dev.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
68 dev.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
69 dev.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
70 dev.o: /usr/include/bits/confname.h /usr/include/getopt.h
71 dev.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
72 dev.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
73 dev.o: /usr/include/bits/endian.h /usr/include/sys/select.h
74 dev.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
75 dev.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
76 dev.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
77 dev.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
78 dev.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h /usr/include/bits/msq.h
79 ip.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
80 ip.o: /usr/include/features.h /usr/include/sys/cdefs.h
81 ip.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
82 ip.o: /usr/include/bits/wordsize.h routetable.h dev.h ipin.h
83 ip.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
84 ip.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
85 ip.o: /usr/include/bits/confname.h /usr/include/getopt.h /usr/include/fcntl.h
86 ip.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h /usr/include/time.h
87 ip.o: /usr/include/endian.h /usr/include/bits/endian.h
88 ip.o: /usr/include/sys/select.h /usr/include/bits/select.h
89 ip.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
90 ip.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
91 ip.o: /usr/include/bits/sched.h /usr/include/sys/wait.h /usr/include/signal.h
92 ip.o: /usr/include/bits/signum.h /usr/include/bits/siginfo.h
93 ip.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
94 ip.o: /usr/include/asm/sigcontext.h /usr/include/asm-i486/sigcontext.h
95 ip.o: /usr/include/linux/compiler.h /usr/include/bits/sigstack.h
96 ip.o: /usr/include/bits/sigthread.h /usr/include/sys/resource.h
97 ip.o: /usr/include/bits/resource.h /usr/include/bits/waitflags.h
98 ip.o: /usr/include/bits/waitstatus.h /usr/include/sys/ipc.h
99 ip.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
100 ip.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
101 ipaddr.o: ipaddr.h
102 ipheader.o: ipheader.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
103 ipheader.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
104 ipheader.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
105 ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
106 ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
107 ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
108 ipin.o: /usr/include/bits/wordsize.h dev.h
109 ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
110 ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
111 ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
112 ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
113 ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
114 ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
115 ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
116 ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
117 ipout.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
118 ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
119 ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
120 ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
121 ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
122 ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
123 ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
124 ipout.o: /usr/include/bits/msq.h
125 routetable.o: routetable.h dev.h ipaddr.h
126 test_ipaddr.o: ipaddr.h ipheader.h /usr/include/stdint.h
127 test_ipaddr.o: /usr/include/features.h /usr/include/sys/cdefs.h
128 test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
129 test_ipaddr.o: /usr/include/bits/wordsize.h
130 test_ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
131 test_ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
132 test_ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
133 test_ipin.o: /usr/include/bits/wordsize.h dev.h /usr/include/unistd.h
134 test_ipin.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
135 test_ipin.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
136 test_ipin.o: /usr/include/getopt.h /usr/include/fcntl.h
137 test_ipin.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
138 test_ipin.o: /usr/include/time.h /usr/include/endian.h
139 test_ipin.o: /usr/include/bits/endian.h /usr/include/sys/select.h
140 test_ipin.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
141 test_ipin.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
142 test_ipin.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
143 test_ipin.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
144 test_ipin.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
145 test_ipin.o: /usr/include/bits/msq.h
146 test_ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
147 test_ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
148 test_ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
149 test_ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
150 test_ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
151 test_ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
152 test_ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
153 test_ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
154 test_ipout.o: /usr/include/sys/types.h /usr/include/time.h
155 test_ipout.o: /usr/include/endian.h /usr/include/bits/endian.h
156 test_ipout.o: /usr/include/sys/select.h /usr/include/bits/select.h
157 test_ipout.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
158 test_ipout.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
159 test_ipout.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
160 test_ipout.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
161 test_ipout.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
162 test_recv.o: dev.h /usr/include/unistd.h /usr/include/features.h
163 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
164 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
165 test_recv.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
166 test_recv.o: /usr/include/bits/confname.h /usr/include/getopt.h
167 test_recv.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
168 test_recv.o: /usr/include/sys/types.h /usr/include/time.h
169 test_recv.o: /usr/include/endian.h /usr/include/bits/endian.h
170 test_recv.o: /usr/include/sys/select.h /usr/include/bits/select.h
171 test_recv.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
172 test_recv.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
173 test_recv.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
174 test_recv.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
175 test_recv.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
176 test_send.o: dev.h /usr/include/unistd.h /usr/include/features.h
177 test_send.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
178 test_send.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
179 test_send.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
180 test_send.o: /usr/include/bits/confname.h /usr/include/getopt.h
181 test_send.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
182 test_send.o: /usr/include/sys/types.h /usr/include/time.h
183 test_send.o: /usr/include/endian.h /usr/include/bits/endian.h
184 test_send.o: /usr/include/sys/select.h /usr/include/bits/select.h
185 test_send.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
186 test_send.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
187 test_send.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
188 test_send.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
189 test_send.o: /usr/include/sys/msg.h /usr/include/bits/msq.h