Merge branch 'master' of git://repo.or.cz/packetlaptime
[packetlaptime.git] / Makefile
blobc1c39699be0ad44af8219c3c407969541764a5e9
1 .SUFFIXES : .java .class
3 CLASSES = NodeInterface.class Node.class TCPNode.class UDPNode.class
4 CFLAGS = -classpath .
6 all : $(CLASSES)
8 .java.class :
9 javac $(CFLAGS) $<
11 runUDP :
12 java $(CFLAGS) UDPNode 9800 localhost 9801 L &
13 java $(CFLAGS) UDPNode 9801 localhost 9802 &
14 java $(CFLAGS) UDPNode 9802 localhost 9803 &
15 java $(CFLAGS) UDPNode 9803 localhost 9804 &
16 java $(CFLAGS) UDPNode 9804 localhost 9805 &
17 java $(CFLAGS) UDPNode 9805 localhost 9806 &
18 java $(CFLAGS) UDPNode 9806 localhost 9807 &
19 java $(CFLAGS) UDPNode 9807 localhost 9808 &
20 java $(CFLAGS) UDPNode 9808 localhost 9809 &
21 java $(CFLAGS) UDPNode 9809 localhost 9800 &
23 runTCP :
24 java $(CFLAGS) TCPNode 9800 localhost 9801 L &
25 java $(CFLAGS) TCPNode 9801 localhost 9802 &
26 java $(CFLAGS) TCPNode 9802 localhost 9803 &
27 java $(CFLAGS) TCPNode 9803 localhost 9804 &
28 java $(CFLAGS) TCPNode 9804 localhost 9805 &
29 java $(CFLAGS) TCPNode 9805 localhost 9806 &
30 java $(CFLAGS) TCPNode 9806 localhost 9807 &
31 java $(CFLAGS) TCPNode 9807 localhost 9808 &
32 java $(CFLAGS) TCPNode 9808 localhost 9809 &
33 java $(CFLAGS) TCPNode 9809 localhost 9800 &
35 api :
36 javadoc *.java -d $HOME/public_html -charset UTF-8
38 clean :
39 rm -rf $(CLASSES) *.log *~