CHARMC=../../../../bin/charmc $(OPTS)

pgm: reduce.o
	$(CHARMC) -o pgm reduce.o -language ampif

reduce.o: reduce.f90
	$(CHARMC) -c reduce.f90

test: pgm
	./charmrun +p3 pgm +vp8

#
#
# clean up .o, .mod, .exe and EMACS backup files
#
clean:
	rm -f *.o *.mod pgm *~ conv-host charmrun
