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 4.16-rc1
[cris-mirror.git]
/
tools
/
laptop
/
freefall
/
Makefile
blob
5f758c489a208c09fd09274b0b01302d61d56f27
1
# SPDX-License-Identifier: GPL-2.0
2
PREFIX ?
= /
usr
3
SBINDIR ?
=
sbin
4
INSTALL ?
=
install
5
CC
= $(
CROSS_COMPILE
)
gcc
6
7
TARGET
=
freefall
8
9
all
: $(
TARGET
)
10
11
%: %
.c
12
$(
CC
) $(
CFLAGS
) $(
LDFLAGS
) -
o
$
@
$<
13
14
clean
:
15
$(
RM
) $(
TARGET
)
16
17
install
:
freefall
18
$(
INSTALL
) -
D
-
m
755
$(
TARGET
) $(
DESTDIR
)$(
PREFIX
)/$(
SBINDIR
)/$(
TARGET
)