repo.or.cz
/
CppToLua.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
limpei e melhorei o makefile.
[CppToLua.git]
/
makefile
blob
9c909ac1de974601cdef5061d81f48c57f707a00
1
# program name
2
PROG
=
cpptolua
3
4
# compiler
5
CC
=
g
++
6
7
all
: $(
PROG
)
8
.
/$(
PROG
) <
in.
cpp
9
10
$(
PROG
):
y.tab.c
lex
.yy.c
11
$(
CC
) $
^
-
o
$
@
12
13
y.tab.c
: $(
PROG
)
.y
14
yacc
-
d
$<
15
16
lex
.yy.c
: $(
PROG
)
.l
17
lex
$<
18
19
clean
:
20
rm
-
f
*
~ y.tab.?
lex
.yy.c
21