]> git.llucax.com Git - z.facultad/75.74/practicos.git/blob - practicas/pipi/src/Makefile
Agrego lista de cosas que faltan.
[z.facultad/75.74/practicos.git] / practicas / pipi / 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=test_send test_recv test_ipaddr test_ipin test_ipout
31
32 # Fuentes
33 fuentes ?= $(wildcard *.cpp)
34
35
36 # REGLAS
37 #########
38
39 .PHONY: all clean
40
41 all: depend $(targets)
42
43 test_send: test_send.o dev.o
44
45 test_recv: test_recv.o dev.o
46
47 test_ipaddr: test_ipaddr.o ipaddr.o ipheader.o
48
49 test_ipin: test_ipin.o ipin.o ipaddr.o ipheader.o dev.o
50
51 test_ipout: test_ipout.o ipout.o ipaddr.o ipheader.o dev.o routetable.o
52
53 depend:
54         @makedepend $(fuentes) > /dev/null 2>&1
55
56 clean:
57         @$(RM) -fv *.o Makefile.bak $(targets)
58
59 # DO NOT DELETE
60
61 dev.o: dev.h /usr/include/unistd.h /usr/include/features.h
62 dev.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
63 dev.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
64 dev.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
65 dev.o: /usr/include/bits/confname.h /usr/include/getopt.h
66 dev.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
67 dev.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
68 dev.o: /usr/include/bits/endian.h /usr/include/sys/select.h
69 dev.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
70 dev.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
71 dev.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
72 dev.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
73 dev.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h /usr/include/bits/msq.h
74 ipaddr.o: ipaddr.h
75 ipheader.o: ipheader.h ipaddr.h /usr/include/stdint.h /usr/include/features.h
76 ipheader.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
77 ipheader.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
78 ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
79 ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
80 ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
81 ipin.o: /usr/include/bits/wordsize.h dev.h
82 ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
83 ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
84 ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
85 ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
86 ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
87 ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
88 ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
89 ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
90 ipout.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
91 ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
92 ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
93 ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
94 ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
95 ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
96 ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
97 ipout.o: /usr/include/bits/msq.h
98 routetable.o: routetable.h dev.h ipaddr.h
99 test_ipaddr.o: ipaddr.h ipheader.h /usr/include/stdint.h
100 test_ipaddr.o: /usr/include/features.h /usr/include/sys/cdefs.h
101 test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
102 test_ipaddr.o: /usr/include/bits/wordsize.h
103 test_ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
104 test_ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
105 test_ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
106 test_ipin.o: /usr/include/bits/wordsize.h dev.h /usr/include/unistd.h
107 test_ipin.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
108 test_ipin.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
109 test_ipin.o: /usr/include/getopt.h /usr/include/fcntl.h
110 test_ipin.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
111 test_ipin.o: /usr/include/time.h /usr/include/endian.h
112 test_ipin.o: /usr/include/bits/endian.h /usr/include/sys/select.h
113 test_ipin.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
114 test_ipin.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
115 test_ipin.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
116 test_ipin.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
117 test_ipin.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
118 test_ipin.o: /usr/include/bits/msq.h
119 test_ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
120 test_ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
121 test_ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
122 test_ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
123 test_ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
124 test_ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
125 test_ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
126 test_ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
127 test_ipout.o: /usr/include/sys/types.h /usr/include/time.h
128 test_ipout.o: /usr/include/endian.h /usr/include/bits/endian.h
129 test_ipout.o: /usr/include/sys/select.h /usr/include/bits/select.h
130 test_ipout.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
131 test_ipout.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
132 test_ipout.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
133 test_ipout.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
134 test_ipout.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
135 test_recv.o: dev.h /usr/include/unistd.h /usr/include/features.h
136 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
137 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
138 test_recv.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
139 test_recv.o: /usr/include/bits/confname.h /usr/include/getopt.h
140 test_recv.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
141 test_recv.o: /usr/include/sys/types.h /usr/include/time.h
142 test_recv.o: /usr/include/endian.h /usr/include/bits/endian.h
143 test_recv.o: /usr/include/sys/select.h /usr/include/bits/select.h
144 test_recv.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
145 test_recv.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
146 test_recv.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
147 test_recv.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
148 test_recv.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
149 test_send.o: dev.h /usr/include/unistd.h /usr/include/features.h
150 test_send.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
151 test_send.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
152 test_send.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
153 test_send.o: /usr/include/bits/confname.h /usr/include/getopt.h
154 test_send.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
155 test_send.o: /usr/include/sys/types.h /usr/include/time.h
156 test_send.o: /usr/include/endian.h /usr/include/bits/endian.h
157 test_send.o: /usr/include/sys/select.h /usr/include/bits/select.h
158 test_send.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
159 test_send.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
160 test_send.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
161 test_send.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
162 test_send.o: /usr/include/sys/msg.h /usr/include/bits/msq.h