projects
/
project
/
uci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c32626de9e9deda5f213ba59a61de5620d2a4137
[project/uci.git]
/
Makefile
1
COPTS
=-
O2
2
CFLAGS
=$(
COPTS
) -
fPIC
-
Wall
-
pedantic
-
std
=
gnu99
-
Wno-unused
-
Werror
3
ifneq
($(
DEBUG
),)
4
CFLAGS
+= -
g3
-
DDEBUG_ALL
5
endif
6
7
AR
=
ar
8
CC
=
gcc
9
RANLIB
=
ranlib
10
11
all
:
uci
12
13
cli.o
:
cli.c uci.h
14
uci
:
cli.o libuci.a
15
$(
CC
) $(
CFLAGS
) -
o
$
@
$
^
16
17
libuci.o
:
libuci.c file.c uci.h list.c err.h
18
libuci.a
:
libuci.o
19
rm
-
f
$
@
20
$(
AR
)
rc
$
@
$
^
21
$(
RANLIB
) $
@
22
23
clean
:
24
rm
-
f uci
*
.
[
oa
]