Add nettest/ tools
[splice.git] / Makefile
index e6a6d53bc26737f25f03bfc97eb422ef8ae3ab4f..0cb0d69aed97b985cec264f443de064ab5795680 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
 CC     = gcc
 CFLAGS = -Wall -O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-PROGS  = ktee ktee-net splice-cp splice-in splice-out splice-tonet splice-fromnet splice-test4c splice-test4s vmsplice splice-bench vmsplice2 vmsplice-touser
+PROGS  = ktee ktee-net splice-cp splice-in splice-out splice-tonet splice-fromnet splice-test4c splice-test4s vmsplice splice-bench vmsplice2 vmsplice-touser splice-fromnet
 MANS   = splice.2 tee.2 vmsplice.2
 
 all: depend $(PROGS)
+       $(MAKE) -C nettest
 
 %.o: %.c
        $(CC) -o $*.o -c $(CFLAGS) $<
@@ -13,6 +14,7 @@ depend:
 
 clean:
        -rm -f *.o $(PROGS) .depend
+       $(MAKE) -C nettest clean
 
 INSTALL = install
 prefix = /usr/local