CHARMC=/home/blondu/Downloads/charm/bin/charmc $(OPTS) OBJS = hello.o all: hello hello: $(OBJS) $(CHARMC) -language charm++ -o hello $(OBJS) hello.decl.h: hello.ci $(CHARMC) hello.ci clean: rm -f *.decl.h *.def.h conv-host *.o hello charmrun hello.o: hello.C hello.decl.h $(CHARMC) -c hello.C test: all ./charmrun hello +p4 10 $(TESTOPTS) bgtest: all ./charmrun hello +p4 10 +x2 +y2 +z1 run : sumo -v -n rand.net.xml -r rand.rou.xml --remote-port 2000 & sleep 3 ./charmrun +p2 ./hello localhost 2000