Removing memory leak in kNeighbor benchmark
[charm.git] / examples / charm++ / RedExample / Makefile
1 CHARMC=../../../bin/charmc $(OPTS) $(MOPTS) 
2
3 OBJS = RedExample.o
4
5 all: RedExample
6
7 RedExample: $(OBJS)
8         $(CHARMC) -language charm++ -o RedExample $(OBJS)
9
10 RedExample.decl.h: RedExample.ci
11         $(CHARMC)  RedExample.ci
12
13 clean:
14         rm -f *.decl.h *.def.h conv-host *.o RedExample charmrun *.log *.sum *.sts charmrun.exe RedExample.exe RedExample.pdb RedExample.ilk
15
16 RedExample.o: RedExample.C RedExample.decl.h RedExample.h
17         $(CHARMC) -c RedExample.C
18
19 test: all
20         ./charmrun ./RedExample 20 4.5 10.3 +p4 $(TESTOPTS)
21
22 bgtest: all
23         ./charmrun ./RedExample 20 4.5 10.3 +p4 +x2 +y2 +z2