source: tradir/charm/pp/Makefile @ 177

Last change on this file since 177 was 177, checked in by (none), 14 years ago
File size: 520 bytes
Line 
1CHARMC=/home/blondu/Downloads/charm/bin/charmc $(OPTS)
2
3OBJS = hello.o
4
5all: hello
6
7hello: $(OBJS)
8        $(CHARMC) -language charm++ -o hello $(OBJS)
9
10hello.decl.h: hello.ci
11        $(CHARMC)  hello.ci
12
13clean:
14        rm -f *.decl.h *.def.h conv-host *.o hello charmrun
15
16hello.o: hello.C hello.decl.h
17        $(CHARMC) -c hello.C
18
19test: all
20        ./charmrun hello +p4 10 $(TESTOPTS)
21
22bgtest: all
23        ./charmrun hello +p4 10 +x2 +y2 +z1
24
25run :
26        sumo -v -n rand.net.xml -r rand.rou.xml --remote-port 2000 &
27        sleep 3
28        ./charmrun +p2 ./hello localhost 2000
29
Note: See TracBrowser for help on using the repository browser.