PGM=latencyBWtest

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

all: $(PGM).o
	$(CHARMC) -o $(PGM) $(PGM).o -language converse++

$(PGM): $(PGM).o
	$(CHARMC) -o $(PGM) $(PGM).o -language converse++

$(PGM).o: $(PGM).c
	$(CHARMC) -c $(PGM).c

clean:
	rm -f conv-host *.o
	rm -f $(PGM) *.TMP.*
	rm -f gmon.out #*#
	rm -f core *~
	rm -f TAGS *.headers

projections:
	make all OPTS='$(OPTS) -execmode projections'

summary:
	make all OPTS='$(OPTS) -execmode summary'

replay:
	make all OPTS='$(OPTS) -execmode replay'
