-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathMakefile
More file actions
59 lines (46 loc) · 1.31 KB
/
Makefile
File metadata and controls
59 lines (46 loc) · 1.31 KB
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
# Makefile for top level of lmbench
# $Id: Makefile 1.17 00/05/31 16:16:15+03:00 staelin@hpli8.hpli.hpl.hp.com $
# Possible things to $(MAKE):
#
# build (default) go to the source directory and build the benchmark
# results go to the source directory and build and run the benchmark
# rerun run the benchmark again
# see see the results that came with this release
# Go to the results directory and read the Makefile.
# doc.lpr print the documentation
# doc.x preview the documentation (needs X, groff, pic, etc)
# clean go to the subdirs and $(MAKE) clean
# shar build a shippable shar archive
SHELL=/bin/sh
build:
cd src && $(MAKE)
results: FRC
cd src && $(MAKE) results
rerun:
cd src && $(MAKE) rerun
see:
cd results && $(MAKE) summary percent 2>/dev/null | more
doc.lpr:
cd doc && $(MAKE) PS && lpr *.PS
doc.x:
cd doc && $(MAKE) x
clobber clean:
for i in doc src results; do \
echo ===== $$i =====; \
(cd $$i && $(MAKE) clean); \
done
/bin/rm -rf bin/*
info:
for i in doc src results; do \
echo ===== $$i =====; \
(cd $$i && info); \
done
release: scripts/mkrelease
scripts/mkrelease
# XXX - . must be named lmbench for this to work
shar:
$(MAKE) clean
cd .. && \
find lmbench -type f -print | egrep -v 'noship|\.git' > /tmp/FILES
cd .. && shar -S -a -n lmbench1.0 -L 50K < /tmp/FILES
FRC: