]> git.llucax.com Git - z.facultad/75.74/practicos.git/blobdiff - practicas/pipi/src/Makefile
Agrego script para testear más fácil.
[z.facultad/75.74/practicos.git] / practicas / pipi / src / Makefile
index d8d81dae1c6653230e7bc21ea743d11d775a7ccd..58539eff2f337ba227ce112394db79580ff1ea9d 100644 (file)
@@ -27,7 +27,7 @@ CXXFLAGS = $(CFLAGS) -fno-inline
 CC=g++
 
 # Programas
-targets=test_send test_recv test_ipaddr test_ipin
+targets=test_send test_recv test_ipaddr test_ipin test_ipout
 
 # Fuentes
 fuentes ?= $(wildcard *.cpp)
@@ -48,11 +48,13 @@ test_ipaddr: test_ipaddr.o ipaddr.o ipheader.o
 
 test_ipin: test_ipin.o ipin.o ipaddr.o ipheader.o dev.o
 
+test_ipout: test_ipout.o ipout.o ipaddr.o ipheader.o dev.o routetable.o
+
 depend:
        @makedepend $(fuentes) > /dev/null 2>&1
 
 clean:
-       @$(RM) -fv *.o $(targets)
+       @$(RM) -fv *.o Makefile.bak $(targets)
 
 # DO NOT DELETE
 
@@ -77,6 +79,23 @@ ipin.o: ipin.h ipaddr.h ipheader.h /usr/include/stdint.h
 ipin.o: /usr/include/features.h /usr/include/sys/cdefs.h
 ipin.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
 ipin.o: /usr/include/bits/wordsize.h dev.h
+ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
+ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
+ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
+ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
+ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
+ipout.o: /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h
+ipout.o: /usr/include/bits/endian.h /usr/include/sys/select.h
+ipout.o: /usr/include/bits/select.h /usr/include/bits/sigset.h
+ipout.o: /usr/include/bits/time.h /usr/include/sys/sysmacros.h
+ipout.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
+ipout.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
+ipout.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
+ipout.o: /usr/include/bits/msq.h
+routetable.o: routetable.h dev.h ipaddr.h
 test_ipaddr.o: ipaddr.h ipheader.h /usr/include/stdint.h
 test_ipaddr.o: /usr/include/features.h /usr/include/sys/cdefs.h
 test_ipaddr.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
@@ -97,6 +116,22 @@ test_ipin.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h
 test_ipin.o: /usr/include/sys/ipc.h /usr/include/bits/ipctypes.h
 test_ipin.o: /usr/include/bits/ipc.h /usr/include/sys/msg.h
 test_ipin.o: /usr/include/bits/msq.h
+test_ipout.o: ipout.h ipaddr.h ipheader.h /usr/include/stdint.h
+test_ipout.o: /usr/include/features.h /usr/include/sys/cdefs.h
+test_ipout.o: /usr/include/gnu/stubs.h /usr/include/bits/wchar.h
+test_ipout.o: /usr/include/bits/wordsize.h routetable.h dev.h
+test_ipout.o: /usr/include/unistd.h /usr/include/bits/posix_opt.h
+test_ipout.o: /usr/include/bits/types.h /usr/include/bits/typesizes.h
+test_ipout.o: /usr/include/bits/confname.h /usr/include/getopt.h
+test_ipout.o: /usr/include/fcntl.h /usr/include/bits/fcntl.h
+test_ipout.o: /usr/include/sys/types.h /usr/include/time.h
+test_ipout.o: /usr/include/endian.h /usr/include/bits/endian.h
+test_ipout.o: /usr/include/sys/select.h /usr/include/bits/select.h
+test_ipout.o: /usr/include/bits/sigset.h /usr/include/bits/time.h
+test_ipout.o: /usr/include/sys/sysmacros.h /usr/include/bits/pthreadtypes.h
+test_ipout.o: /usr/include/bits/sched.h /usr/include/sys/ipc.h
+test_ipout.o: /usr/include/bits/ipctypes.h /usr/include/bits/ipc.h
+test_ipout.o: /usr/include/sys/msg.h /usr/include/bits/msq.h
 test_recv.o: dev.h /usr/include/unistd.h /usr/include/features.h
 test_recv.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h
 test_recv.o: /usr/include/bits/posix_opt.h /usr/include/bits/types.h