diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | # $Id: makefile,v 1.15 1995/10/17 18:16:58 roberto Exp roberto $ | 1 | # $Id: makefile,v 1.16 1995/11/10 17:56:06 roberto Exp roberto $ |
2 | 2 | ||
3 | #configuration | 3 | #configuration |
4 | 4 | ||
@@ -47,14 +47,19 @@ lualib.a : $(LIBOBJS) | |||
47 | liblua.so.1.0 : lua.o | 47 | liblua.so.1.0 : lua.o |
48 | ld -o liblua.so.1.0 $(LUAOBJS) | 48 | ld -o liblua.so.1.0 $(LUAOBJS) |
49 | 49 | ||
50 | y.tab.c y.tab.h : lua.stx | ||
51 | yacc++ -d lua.stx | ||
50 | 52 | ||
51 | parser.c : lua.stx | 53 | parser.c : y.tab.c |
52 | yacc++ -d lua.stx ; mv -f y.tab.c parser.c ; mv -f y.tab.h parser.h | 54 | sed -e 's/yy/luaY_/g' y.tab.c > parser.c |
55 | |||
56 | parser.h : y.tab.h | ||
57 | sed -e 's/yy/luaY_/g' y.tab.h > parser.h | ||
53 | 58 | ||
54 | clear : | 59 | clear : |
55 | rcsclean | 60 | rcsclean |
56 | rm -f *.o | 61 | rm -f *.o |
57 | rm -f parser.c parser.h | 62 | rm -f parser.c parser.h y.tab.c y.tab.h |
58 | co lua.h lualib.h luadebug.h | 63 | co lua.h lualib.h luadebug.h |
59 | 64 | ||
60 | % : RCS/%,v | 65 | % : RCS/%,v |