############################################################################
# RCS INFORMATION:
#
# 	$RCSfile: Makefile,v $
# 	$Author: milind $	$Locker:  $		$State: Exp $
#	$Revision: 1.3 $	$Date: 1998/01/16 18:02:57 $
#
############################################################################
# DESCRIPTION:
#
# Makefile for latency test program
#
############################################################################
# REVISION HISTORY:
#
# $Log: Makefile,v $
# Revision 1.3  1998/01/16 18:02:57  milind
# Fixed Ctv bug on shared memory machines.
# Made latencyBWtest conformant with Converse.
# Added high resolution timers to Origin2000.
# Removed starvation from Origin Pthreads version.
#
# Revision 1.2  1998/01/15 22:25:48  milind
# Fixed bugs in latencyBWtest and optimized SP3 communication.
#
# Revision 1.1  1996/02/05 15:05:49  brunner
# Initial revision
#
#
############################################################################

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'
