GNUmakefile
804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Makefile for vi test directories
#
PRDEPTH=../../../
include $(PRDEPTH)/PRdefs
COMMONPREF=vi
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)