aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/quest/Makefile
blob: ef0b7db8cfaff6715ee0b860ebc0cabcbdd72732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# install Quest using: opam install quest
MAX=300

include ../rules.mk

QUEST=quest
KVX_CCOMPFLAGS += -fstruct-passing -fbitfields

PREFIX=ran%06.f
TARGETS_C=$(shell seq --format $(PREFIX).c 0 $(MAX))
TARGETS_OUT=$(shell seq --format $(PREFIX).ccomp.kvx.out 0 $(MAX))

all:	$(TARGETS_C) $(TARGETS_OUT)

ran%.c :
	$(QUEST) -seed $* -test ansi > $@

%.ccomp.kvx : %.ccomp.kvx.s
	$(KVX_CCOMP) $(KVX_CCOMPFLAGS) $+ -o $@

clean:
	-rm -f $(TARGETS_C) $(TARGETS_OUT)

.PHONY: all clean