Makefile 795 Bytes
#
# Makefile for vi test directories
#

PRDEPTH=../../../
include $(PRDEPTH)/PRdefs

SUBDIRS= OutData

default install: rtests
	$(SUBDIRS_MAKERULE)

rtests: $(_FORCE)
	@if test -n "$(USE_HW_ROOT)"; then \
		(cd OutData; make HW=hw rtests); \
	else \
		(cd OutData; make HW=hw2 rtests); \
	fi

stests: $(_FORCE)
	@if test -n "$(USE_HW_ROOT)"; then \
		(cd OutData; make HW=hw stests); \
	else \
		(cd OutData; make HW=hw2 stests); \
	fi

qtests: $(_FORCE)
	@if test -n "$(USE_HW_ROOT)"; then \
		(cd qsim; make HW=hw qtests); \
	else \
		(cd qsim; make HW=hw2 qtests); \
	fi

otests: $_(FORCE)
	@if test -n "$(USE_HW_ROOT)"; then \
		(cd OutData; make HW=hw otests); \
	else \
		(cd OutData; make HW=hw2 otests); \
	fi

$(COMMONTARGS): $(_FORCE)
	$(SUBDIRS_MAKERULE)

include $(COMMONRULES) nuke