#TIME_FUNC=	-DMSC_CLOCK		# Use Microsoft clock() for measurement
TIME_FUNC=	-DTIME			# Use time(2) for measurement
#TIME_FUNC=	-DTIMES			# Use times(2) for measurement
#HZ=		50			# Frequency of times(2) clock ticks
HZ=		60			# Frequency of times(2) clock ticks SUN
#HZ=		100			# Frequency of times(2) clock ticks RS6000
#HZ=		1			# Give bogus result unless changed!

#STRUCTASSIGN=	-DNOSTRUCTASSIGN	# Compiler cannot assign structs
STRUCTASSIGN=				# Compiler can assign structs

#ENUMS=		-DNOENUMS		# Compiler doesn't have enum type
ENUMS=					# Compiler does have enum type

#OPTIMIZE=				# Optimization Level

REG=-DREG=register			# Use register keyword

CPPFLAGS=	-DNOFLOAT $(TIME_FUNC) -DHZ=$(HZ) $(ENUMS) $(STRUCTASSIGN) $(REG)
CFLAGS=		$(OPTIMIZE)
#LDFLAGS=	-Wl-c16384
CC=		is_lcc

all:		dhrystone.btl

dhrystone:	dhry_1.o dhry_2.o
		$(CC) -o $@ $(LDFLAGS) dhry_1.o dhry_2.o

dhrystone.btl:	dhrystone T800.net
		btl <T800.net >dhrystone.btl

clean:
		rm -f *.o

clobber:	clean
		rm -f dhrystone dhrystone.btl
