update path and modern main definition
[charm.git] / examples / charm++ / Maj_Min / Makefile
1 #CHARMC=/expand/home/sarood/Work/charm/bin/charmc  $(OPTS)
2 #CHARMC=/expand/home/sarood/Work/charmOrg/bin/charmc  $(OPTS)
3 CHARMC=../../../bin/charmc $(OPTS)
4 #CHARMC=/expand/home/sarood/Work/201012_TempAwareLDB/charm/bin/charmc  $(OPTS)
5 #CHARMC=/expand/home/sarood/201012_TempAwareLDB/charm/bin/charmc  $(OPTS)
6
7
8 OBJS = jacobi2d.o
9
10 all: jacobi2d
11
12 jacobi2d: $(OBJS)
13         $(CHARMC) -language charm++ -o jacobi2d -balancer TempAwareGreedyLB -tracemode projections -lcpufreq $(OBJS)
14 #       $(CHARMC) -language charm++ -o jacobi2d -balancer GreedyLB -tracemode projections $(OBJS)
15 #       $(CHARMC) jacobi2d.o  -o jacobi2d -language charm++
16
17 jacobi2d.decl.h: jacobi2d.ci
18         $(CHARMC)  jacobi2d.ci
19
20 clean:
21         rm -f *.decl.h *.def.h conv-host *.o jacobi2d charmrun *~
22
23 jacobi2d.o: jacobi2d.C jacobi2d.decl.h
24         $(CHARMC) -c jacobi2d.C