-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
60 lines (49 loc) · 1.08 KB
/
Makefile
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
SUBDIRS = \
blackscholes \
bodytrack \
canneal \
facesim \
ferret \
fluidanimate \
freqmine \
streamcluster \
swaptions
BINARIES = \
blackscholes/blackscholes \
bodytrack/bodytrack \
facesim/facesim_exe \
fluidanimate/fluidanimate \
fluidanimate/fluidcmp
DATA_FILES = \
blackscholes/data-medium \
blackscholes/data-small \
bodytrack/data-medium \
bodytrack/data-small \
facesim/data-medium \
facesim/data-small \
EXTRA_DIST = \
blackscholes/benchmark.ini \
blackscholes/COPYRIGHT \
blackscholes/README \
bodytrack/benchmark.ini \
facesim/benchmark.ini \
facesim/LICENSE \
facesim/COPYRIGHT \
facesim/README
BENCHMARK_SUITE = m2s-bench-parsec-3.0
all:
for subdir in $(SUBDIRS); do \
$(MAKE) -C $$subdir all; \
done
clean:
for subdir in $(SUBDIRS); do \
$(MAKE) -C $$subdir clean; \
done
rm *.tar.gz
dist: all $(BENCHMARK_SUITE).tar.gz
$(BENCHMARK_SUITE).tar.gz: $(BINARIES)
rm -f $(BENCHMARK_SUITE).tar.gz
tar -czvf $(BENCHMARK_SUITE).tar.gz \
--transform='s,^,$(BENCHMARK_SUITE)/,' \
$(BINARIES) $(DATA_FILES) $(EXTRA_DIST) \
LICENSE CONTRIBUTORS