6de0d76677b761955cb292481cb0cc61689c0940
[charm.git] / examples / ampi / pingpong / Makefile
1 OPTS=-O3 
2 CHARMC=../../../bin/charmc -language ampi $(OPTS)
3 MPICC=cc $(OPTS)
4
5 #all : pingpong-2way.c
6 #       $(CHARMC) pingpong-2way.c -o pgm
7 #       $(MPICC) pingpong-2way.c -o pgm-mpi
8
9 all : pingpong-1way.c
10 #       $(CHARMC) pingpong-1way.c -o pgm
11         $(MPICC) pingpong-1way.c -o pgm-mpi
12
13 pipe: pingpong-pipeline.c
14         $(CHARMC) pingpong-pipeline.c -o pgm-pipe
15         $(MPICC) pingpong-pipeline.c -o pgm-pipe-mpi
16
17 test: all
18         ./charmrun +p2 ./pgm 100000 16 +vp2
19
20 clean:
21         rm -rf charmrun conv-host moduleinit* *.o pingpong pgm pgm-mpi pgm-pipe pgm-pipe-mpi *~ *.sts core
22