repo.or.cz
/
lua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Imported from ../lua-1.1.tar.gz.
[lua.git]
/
clients
/
lib
/
Makefile
blob
4110a62f84b2ffe01c436643ba1207dfd3292234
1
# makefile for lualib
2
3
INC
= $(
LUA
)/
include
4
LIB
= $(
LUA
)/
lib
5
6
CC
=
gcc
7
CFLAGS
= -
Wall
-
O2
-
I
$(
INC
) $(
DEFS
)
8
9
OBJS
=
iolib.o mathlib.o strlib.o
10
SLIB
= $(
LIB
)/
liblualib.a
11
DLIB
= $(
LIB
)/
liblualib.so
.1.1
12
13
libs
: $(
SLIB
) $(
DLIB
)
14
15
$(
SLIB
): $(
OBJS
)
16
ar
ruvl
$
@
$(
OBJS
)
17
ranlib
$(
SLIB
)
18
19
$(
DLIB
): $(
OBJS
)
20
ld
-
o
$
@
$(
OBJS
)
21
22
clean
:
23
rm
-
f
$(
OBJS
) $(
SLIB
) $(
DLIB
)