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
f7adc8b4b75d775de51a3178459df1876b810e5a
1
# program name
2
PROG = cpptolua
3
4
# compiler
5
CC = g++
6
7
all: $(PROG)
8
mv $(PROG) ../bin/
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