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
first commit - working example - needs pointer type recognition (actualy more than...
[CppToLua.git]
/
makefile
blob
1d358355b3d952ccd4d48eb34f2bdc270e9052d2
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
:
y.tab.c
lex
.yy.c y.tab.h
20
rm
$
^
21
rm
*
~
22