CHARMC = /expand8/home/gioachin/charm/net-linux/bin/charmc $(OPTS)
MODULES = -module commlib
#OPTS = -tracemode projections

OBJS = test.o


all: test

test: $(OBJS)
	$(CHARMC) -language charm++ -o $@ $(OBJS) $(MODULES) 

test.decl.h: test.ci
	$(CHARMC) $<

clean:
	rm -f *.decl.h *.def.h *.o test charmrun *~


test.o: test.C test.decl.h
	$(CHARMC) -c $<

new: clean all
