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