Adding leanmd simplified as an example
[charm.git] / examples / charm++ / PMEMimic / Makefile
1 CHARMC=../../../bin/charmc $(OPTS)
2
3 OBJS = PMEMimic.o
4
5 all: pgm pgm.prj
6
7 pgm: $(OBJS)
8         $(CHARMC) -language charm++ -o pgm $(OBJS)
9
10 pgm.prj: $(OBJS)
11         $(CHARMC) -language charm++ -tracemode projections -o pgm.prj $(OBJS)
12
13 PMEMimic.decl.h: PMEMimic.ci
14         $(CHARMC)  PMEMimic.ci
15
16 clean:
17         rm -f *.decl.h *.def.h conv-host *.o PMEMimic charmrun
18
19 PMEMimic.o: PMEMimic.C PMEMimic.decl.h
20         $(CHARMC) -c PMEMimic.C
21
22 test: all
23         ./charmrun +p12 pgm 3 2 2 $(TESTOPTS)
24
25 bgtest: all
26         ./charmrun pgm +p4 10 +x2 +y2 +z1 $(TESTOPTS)