diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1993-12-22 19:21:06 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1993-12-22 19:21:06 -0200 |
| commit | a4a3357c1c1c39c65845be66d5d1fb4eaf458d7e (patch) | |
| tree | fff18af4e178104a1c1b90f3a608c6139ce52296 /makefile | |
| parent | 7f8a7e16cd8e5c26884ec8a0ce055ab75e9932a2 (diff) | |
| download | lua-github-a4a3357c1c1c39c65845be66d5d1fb4eaf458d7e.tar.gz | |
Novo analizador lexico para LUA
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,4 +1,4 @@ -# $Id: makefile,v 1.1 1993/12/17 18:59:10 celes Exp roberto $ +# $Id: makefile,v 1.2 1993/12/22 20:55:06 roberto Exp roberto $ # Compilation parameters CC = gcc CFLAGS = -I/usr/5include -Wall -DMAXCODE=4096 -DMAXCONSTANT=1024 -DMAXSYMBOL=1024 @@ -8,8 +8,8 @@ ARFLAGS = rvl # Aplication modules LUAMOD = \ - lex.yy \ y.tab \ + lex \ opcode \ hash \ table \ @@ -27,7 +27,7 @@ LIBOBJS = $(LIBMOD:%=%.o) lua : lua.o lua.a lualib.a $(CC) $(CFLAGS) -o $@ lua.c lua.a lualib.a -lm -lua.a : lex.yy.c y.tab.c $(LUAOBJS) +lua.a : y.tab.c $(LUAOBJS) $(AR) $(ARFLAGS) $@ $? ranlib lua.a @@ -43,13 +43,13 @@ liblua.so.1.0 : lua.o %.o : %.c $(CC) $(CFLAGS) -c -o $@ $< -lex.yy.c : lua.lex - lex lua.lex -y.tab.c : lua.stx +y.tab.c : lua.stx exscript yacc -d lua.stx ; ex y.tab.c <exscript +exscript : RCS/exscript,v + co $@ hash.c : RCS/hash.c,v co $@ hash.h : RCS/hash.h,v @@ -64,7 +64,7 @@ lua.c : RCS/lua.c,v co $@ lua.h : RCS/lua.h,v co $@ -lua.lex : RCS/lua.lex,v +lex.c : RCS/lex.c,v co $@ lua.stx : RCS/lua.stx,v co $@ |
