aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
blob: f81b39424a8972cc7684539910d96911425a5b8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
prefix          := @prefix@
abs_top_src_dir := @abs_top_srcdir@
instbasedir     := $(DESTDIR)$(prefix)
bmarkdir        := $(abs_top_src_dir)/benchmarks
isa_src_dir     := $(abs_top_src_dir)/isa

all: benchmarks isa

install: all
	install -p -m 644 *.hex $(instbasedir)/share/riscv-tests

benchmarks:
	$(MAKE) -f $(bmarkdir)/Makefile bmarkdir=$(bmarkdir)

isa:
	$(MAKE) -f $(isa_src_dir)/Makefile isa_src_dir=$(isa_src_dir)

.PHONY: benchmarks isa