+# Makefile de ejemplo para C++
+#
+# Creado: jue abr 15 15:34:19 ART 2004
+#
+# Copyleft 2004 - Leandro Lucarella, Bajo licencia GPL [http://www.gnu.org/]
+#
+
+# CONFIGURACION
+################
+
+# Opciones para el compilador C/C++ en modo ansi.
+CFLAGS = -Wall -ansi -pedantic-errors
+
+# Para que explote lo mas posible
+#CFLAGS += -O3 -DNDEBUG
+
+# Para valgrind o debug
+CFLAGS += -ggdb -DDEBUG
+
+# Opciones para el compilador C++.
+CXXFLAGS = $(CFLAGS) -fno-inline
+
+# Opciones del enlazador.
+#LDFLAGS=
+
+# Compilador.
+CC=g++
+
+# Programas
+targets=test_send test_recv
+
+# Fuentes
+fuentes ?= $(wildcard *.cpp)
+
+
+# REGLAS
+#########
+
+.PHONY: all clean
+
+all: $(targets)
+
+test_send: test_send.o media.o
+
+test_recv: test_recv.o media.o
+
+depend:
+ makedepend $(fuentes)
+
+clean:
+ @$(RM) -fv *.o $(targets)
+
+# DO NOT DELETE
+
+media.o: media.h frame.h /usr/include/unistd.h /usr/include/features.h
+media.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
+media.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h
+media.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h
+media.o: /usr/include/bits/confname.h /usr/include/getopt.h
+media.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
+media.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+media.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+media.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+media.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+media.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+media.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+media.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+media.o: /usr/include/bits/msq.h
+test_recv.o: ethernetframe.h frame.h media.h /usr/include/unistd.h
+test_recv.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_recv.o: /usr/include/gnu/stubs.h /usr/include/bits/posix_opt.h
+test_recv.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
+test_recv.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+test_recv.o: /usr/include/getopt.h /usr/include/fcntl.h
+test_recv.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+test_recv.o: /usr/include/time.h /usr/include/endian.h
+test_recv.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_recv.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_recv.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_recv.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_recv.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+test_recv.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+test_recv.o: /usr/include/bits/msq.h dev.h
+test_send.o: ethernetframe.h frame.h media.h /usr/include/unistd.h
+test_send.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_send.o: /usr/include/gnu/stubs.h /usr/include/bits/posix_opt.h
+test_send.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h
+test_send.o: /usr/include/bits/typesizes.h /usr/include/bits/confname.h
+test_send.o: /usr/include/getopt.h /usr/include/fcntl.h
+test_send.o: /usr/include/bits/fcntl.h /usr/include/sys/types.h
+test_send.o: /usr/include/time.h /usr/include/endian.h
+test_send.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+test_send.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+test_send.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+test_send.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+test_send.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+test_send.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+test_send.o: /usr/include/bits/msq.h dev.h