examples: add example program demonstrating sync entry methods
[charm.git] / examples / charm++ / integrateArray / Makefile
1 # modify the path of CHARMC
2 CHARMC=../../../bin/charmc $(OPTS)
3
4 all: pgm
5
6 pgm: pgm.o
7         $(CHARMC) pgm.o  -o pgm -language charm++
8
9 test: pgm
10         ./charmrun +p4 ./pgm 1000000 100 $(TESTOPTS)
11
12 bgtest: pgm
13         ./charmrun +p4 ./pgm 1000000 100 +x2 +y2 +z2 $(TESTOPTS)
14
15
16 # compile program with trace projections - performance trace library
17 pgm_prof: pgm.o
18         $(CHARMC) pgm.o  -o pgm_prof -language charm++ -tracemode projections
19
20 pgm.o : pgm.C pgm.h pgm.def.h
21         $(CHARMC) -c pgm.C
22
23 pgm.decl.h pgm.def.h: pgm.ci
24         $(CHARMC)  pgm.ci
25
26 clean:
27         rm -f pgm pgm_prof *.o conv-host *.decl.h *.def.h *~ charmrun *.log *.sts core charmrun.exe pgm.exe pgm.pdb pgm.ilk