projects
/
project
/
make_ext4fs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add LDFLAGS when building libsparse.a
[project/make_ext4fs.git]
/
libsparse
/
Makefile
1
CC ?
=
gcc
2
AR ?
=
ar
3
4
CFLAGS
+= -
Iinclude
5
6
OBJ
:=
\
7
backed_block.o \
8
output_file.o \
9
sparse.o \
10
sparse_crc32.o \
11
sparse_err.o \
12
sparse_read.o
13
14
%
.o
: %
.c
15
$(
CC
) $(
CFLAGS
) -
c
-
o
$
@
$
^
16
17
libsparse.a
: $(
OBJ
)
18
$(
AR
)
rcs
$
@
$
^
19
20
clean
:
21
rm
-
f
$(
OBJ
)
libsparse.a