aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
blob: 62a3a6f3a239a9cc04a6887247e7c26f220b6a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)

clean:
	$(MAKE) -f $(isa_src_dir)/Makefile isa_src_dir=$(isa_src_dir) clean
	$(MAKE) -f $(bmarkdir)/Makefile bmarkdir=$(bmarkdir) clean

.PHONY: benchmarks isa clean