-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 732 Bytes
/
Copy pathMakefile
File metadata and controls
31 lines (22 loc) · 732 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
# This Makefile is only used to convert the benchmark suite
# into other input formats.
# To install intuit, use `cabal install` instead.
#
# You may need to create directories before running the Makefile, with:
# mkdir -p Benchmarks-{fcube,inthistgc}
files = $(wildcard Benchmarks/*p)
inthistgc = $(subst Benchmarks,Benchmarks-fcube,$(files))
fcube = $(subst Benchmarks,Benchmarks-inthistgc,$(files))
targets = $(inthistgc) $(fcube)
Benchmarks-fcube/%: Benchmarks/%
intuit $< -fCube > $@
Benchmarks-inthistgc/%: Benchmarks/%
intuit $< -IntHistGC > $@
all: $(targets)
dirs:
mkdir -p Benchmarks-fcube/
mkdir -p Benchmarks-inthistgc/
clean:
rm -rf Benchmarks-fcube/*
rm -rf Benchmarks-inthistgc/*
.PHONY: all clean