]> git.llucax.com Git - z.facultad/75.74/practicos.git/blob - practicas/pipi/src/Makefile
Base del TP de IP de distribuidos.
[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
31
32 # Fuentes
33 fuentes ?= $(wildcard *.cpp)
34
35
36 # REGLAS
37 #########
38
39 .PHONY: all clean
40
41 all: $(targets)
42
43 test_send: test_send.o media.o
44
45 test_recv: test_recv.o media.o
46
47 depend:
48         makedepend $(fuentes)
49
50 clean:
51         @$(RM) -fv *.o $(targets)
52
53 # DO NOT DELETE
54
55 media.o: media.h frame.h /usr/include/unistd.h /usr/include/features.h
56 media.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
57 media.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
58 media.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
59 media.o: /usr/include/bits/confname.h /usr/include/getopt.h
60 media.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
61 media.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
62 media.o: /usr/include/bits/endian.h /usr/include/sys/select.h
63 media.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
64 media.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
65 media.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
66 media.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
67 media.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
68 media.o: /usr/include/bits/msq.h
69 test_recv.o: ethernetframe.h frame.h media.h /usr/include/unistd.h
70 test_recv.o: /usr/include/features.h /usr/include/sys/cdefs.h
71 test_recv.o: /usr/include/gnu/stubs.h /usr/include/bits/posix_opt.h
72 test_recv.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
73 test_recv.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
74 test_recv.o: /usr/include/getopt.h /usr/include/fcntl.h
75 test_recv.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
76 test_recv.o: /usr/include/time.h /usr/include/endian.h
77 test_recv.o: /usr/include/bits/endian.h /usr/include/sys/select.h
78 test_recv.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
79 test_recv.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
80 test_recv.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
81 test_recv.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
82 test_recv.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
83 test_recv.o: /usr/include/bits/msq.h dev.h
84 test_send.o: ethernetframe.h frame.h media.h /usr/include/unistd.h
85 test_send.o: /usr/include/features.h /usr/include/sys/cdefs.h
86 test_send.o: /usr/include/gnu/stubs.h /usr/include/bits/posix_opt.h
87 test_send.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
88 test_send.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
89 test_send.o: /usr/include/getopt.h /usr/include/fcntl.h
90 test_send.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
91 test_send.o: /usr/include/time.h /usr/include/endian.h
92 test_send.o: /usr/include/bits/endian.h /usr/include/sys/select.h
93 test_send.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
94 test_send.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
95 test_send.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
96 test_send.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
97 test_send.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
98 test_send.o: /usr/include/bits/msq.h dev.h