Line | |
---|
1 | build : |
---|
2 | gcc -Wall -o test test.c |
---|
3 | |
---|
4 | server : |
---|
5 | sumo -v -n test.net.xml -r test.rou.xml --remote-port 2000 & |
---|
6 | |
---|
7 | client : |
---|
8 | ./test localhost 2000 |
---|
9 | |
---|
10 | test : |
---|
11 | sumo -v -n test.net.xml -r test.rou.xml --remote-port 2000 & |
---|
12 | sleep 3 |
---|
13 | ./test localhost 2000 |
---|
14 | |
---|
15 | run : |
---|
16 | sumo -v -n rand.net.xml -r rand.rou.xml --remote-port 2000 & |
---|
17 | sleep 3 |
---|
18 | ./test localhost 2000 |
---|
19 | |
---|
20 | net : |
---|
21 | sumo-netgen -r --rand-iterations 40 -o rand.net.xml |
---|
22 | sumo-duarouter -n rand.net.xml -R 100 -b 0 -e 100 -o rand.rou.xml |
---|
23 | |
---|
24 | .PHONY: server client test run net |
---|
25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.