repo.or.cz
/
cris-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Linux 3.11-rc3
[cris-mirror.git]
/
tools
/
testing
/
selftests
/
vm
/
Makefile
blob
3f94e1afd6cfdf88b906d9806b7873633f5523cb
1
# Makefile for vm selftests
2
3
CC
= $(
CROSS_COMPILE
)
gcc
4
CFLAGS
= -
Wall
5
BINARIES
=
hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
6
7
all
: $(
BINARIES
)
8
%: %
.c
9
$(
CC
) $(
CFLAGS
) -
o
$
@
$
^
10
11
run_tests
:
all
12
@
/
bin
/
sh .
/
run_vmtests ||
(
echo
"vmtests: [FAIL]"
;
exit
1
)
13
14
clean
:
15
$(
RM
) $(
BINARIES
)