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-5.0.3.tar.gz.
[lua.git]
/
src
/
lua
/
Makefile
blob
aa52832f26db4e2a92f57a59819c6b355aa8dc84
1
# makefile for Lua interpreter
2
3
LUA
=
..
/
..
4
5
include
$(
LUA
)/
config
6
7
EXTRA_DEFS
= $(
USERCONF
)
8
OBJS
=
lua.o
9
SRCS
=
lua.c
10
11
T
= $(
BIN
)/
lua
12
13
all
:
$T
14
15
$T
: $(
OBJS
) $(
LIB
)/
liblua.a
$(
LIB
)/
liblualib.a
16
$(
CC
) -
o
$
@
$(
MYLDFLAGS
) $(
OBJS
) -
L
$(
LIB
) -
llua
-
llualib
$(
EXTRA_LIBS
) $(
DLLIB
)
17
18
$(
LIB
)/
liblua.a
:
19
cd ..
; $(
MAKE
)
20
21
$(
LIB
)/
liblualib.a
:
22
cd ..
/
lib
; $(
MAKE
)
23
24
clean
:
25
rm
-
f
$(
OBJS
)
$T
26
27
co
:
28
co
-
q
-
f
-
M
$(
SRCS
)
29
30
klean
:
clean
31
rm
-
f
$(
SRCS
)