projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add calvaria. Tool to access Maemo CAL partition.
[openwrt/svn-archive/archive.git]
/
utils
/
calvaria
/
files
/
src
/
Makefile
1
DESTDIR ?
=
2
PREFIX ?
= /
usr
3
CFLAGS ?
= -
O2
-
Wall
4
LDFLAGS ?
=
5
LDLIBS ?
=
6
7
STRIP ?
=
strip
8
INSTALL ?
=
install
9
10
BIN
:=
calvaria
11
12
all
: $(
BIN
)
13
14
$(
BIN
):
calvaria.o
15
$(
CC
) $(
CFLAGS
) $(
LDFLAGS
) $
^
$(
LDLIBS
) -
o
$
@
16
$(
STRIP
) $
@
17
18
%
.o
: %
.c
19
$(
CC
) -
c
$(
CFLAGS
) $
^
-
o
$
@
20
21
install
: $(
BIN
)
22
$(
INSTALL
) -
d
$(
DESTDIR
)/$(
PREFIX
)/
bin
23
$(
INSTALL
) -
m
0755
$(
BIN
) $(
DESTDIR
)/$(
PREFIX
)/
bin
/
24
25
clean
:
26
rm
-
f
$(
BIN
) *
.o