forked from OCamlPro/operf-micro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 738 Bytes
/
Copy pathMakefile
File metadata and controls
41 lines (29 loc) · 738 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
include Makefile.conf
FILES= \
cycles.c micro_bench_run.ml micro_bench_types.ml \
micro_bench_types.mli time_stamp_counter.ml \
benchmarks
all: merlin
$(MAKE) -C builder all
install_benchs:
mkdir -p $(SHARE)/$(PKG)/
cp -a $(FILES) $(SHARE)/$(PKG)/
install: all install_benchs
cp -a builder/builder.opt $(BIN)/operf-micro
uninstall_benchs:
rm -rf $(SHARE)/$(PKG)/benchmarks
uninstall: uninstall_benchs
rm -f $(BIN)/operf-micro
rm -rf $(SHARE)/$(PKG)
distclean: clean
rm -f Makefile.conf
clean:
$(MAKE) -C builder clean
rm *.cmi
depend:
$(MAKE) -C builder depend
%.cmi: %.mli
ocamlc -c $<
merlin: micro_bench_types.cmi
.PHONY: all install install-builder install-data depend clean\
uninstall_benchs uninstall