diff options
author | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-12-27 18:50:38 -0200 |
---|---|---|
committer | Waldemar Celes <celes@tecgraf.puc-rio.br> | 1994-12-27 18:50:38 -0200 |
commit | dc97a07e19abaa6942c84c88d001e8cccd517d1d (patch) | |
tree | c0af613ca4b974182585c9b212616d5a51d8d3a7 /makefile | |
parent | 4dce79f7e30787bb21d96cd117217fa157e34594 (diff) | |
download | lua-dc97a07e19abaa6942c84c88d001e8cccd517d1d.tar.gz lua-dc97a07e19abaa6942c84c88d001e8cccd517d1d.tar.bz2 lua-dc97a07e19abaa6942c84c88d001e8cccd517d1d.zip |
better names for 'y.tab.c' and 'y.tab.h' (now they are moved to 'parser.c' and 'parser.h')
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1,4 +1,4 @@ | |||
1 | # $Id: makefile,v 1.9 1994/11/23 20:15:04 roberto Exp roberto $ | 1 | # $Id: makefile,v 1.10 1994/12/23 20:47:59 roberto Exp celes $ |
2 | # Compilation parameters | 2 | # Compilation parameters |
3 | CC = gcc | 3 | CC = gcc |
4 | CFLAGS = -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2 | 4 | CFLAGS = -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2 |
@@ -11,7 +11,7 @@ ARFLAGS = rvl | |||
11 | 11 | ||
12 | # Aplication modules | 12 | # Aplication modules |
13 | LUAMOD = \ | 13 | LUAMOD = \ |
14 | y.tab \ | 14 | parser \ |
15 | lex \ | 15 | lex \ |
16 | opcode \ | 16 | opcode \ |
17 | hash \ | 17 | hash \ |
@@ -33,7 +33,7 @@ LIBOBJS = $(LIBMOD:%=%.o) | |||
33 | lua : lua.o lua.a lualib.a | 33 | lua : lua.o lua.a lualib.a |
34 | $(CC) $(CFLAGS) -o $@ lua.c lua.a lualib.a -lm | 34 | $(CC) $(CFLAGS) -o $@ lua.c lua.a lualib.a -lm |
35 | 35 | ||
36 | lua.a : y.tab.c $(LUAOBJS) | 36 | lua.a : parser.c $(LUAOBJS) |
37 | $(AR) $(ARFLAGS) $@ $? | 37 | $(AR) $(ARFLAGS) $@ $? |
38 | ranlib lua.a | 38 | ranlib lua.a |
39 | 39 | ||
@@ -48,13 +48,13 @@ liblua.so.1.0 : lua.o | |||
48 | $(CC) $(CFLAGS) -c -o $@ $< | 48 | $(CC) $(CFLAGS) -c -o $@ $< |
49 | 49 | ||
50 | 50 | ||
51 | y.tab.c : lua.stx exscript | 51 | parser.c : lua.stx exscript |
52 | yacc -d lua.stx ; ex y.tab.c <exscript | 52 | yacc -d lua.stx ; mv -f y.tab.c parser.c ; mv -f y.tab.h parser.h ; ex parser.c <exscript |
53 | 53 | ||
54 | clear : | 54 | clear : |
55 | rcsclean | 55 | rcsclean |
56 | rm -f *.o | 56 | rm -f *.o |
57 | rm -f y.tab.c y.tab.h | 57 | rm -f parser.c parser.h |
58 | co lua.h lualib.h | 58 | co lua.h lualib.h |
59 | 59 | ||
60 | % : RCS/%,v | 60 | % : RCS/%,v |
@@ -65,7 +65,7 @@ fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h inout.h | |||
65 | hash.o : hash.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h | 65 | hash.o : hash.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h |
66 | inout.o : inout.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h | 66 | inout.o : inout.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h |
67 | iolib.o : iolib.c mem.h lua.h lualib.h | 67 | iolib.o : iolib.c mem.h lua.h lualib.h |
68 | lex.o : lex.c tree.h types.h table.h opcode.h lua.h inout.h y.tab.h ugly.h | 68 | lex.o : lex.c tree.h types.h table.h opcode.h lua.h inout.h parser.h ugly.h |
69 | lua.o : lua.c lua.h lualib.h | 69 | lua.o : lua.c lua.h lualib.h |
70 | mathlib.o : mathlib.c lualib.h lua.h | 70 | mathlib.o : mathlib.c lualib.h lua.h |
71 | mem.o : mem.c mem.h lua.h | 71 | mem.o : mem.c mem.h lua.h |
@@ -75,4 +75,4 @@ strlib.o : strlib.c mem.h lua.h lualib.h | |||
75 | table.o : table.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h \ | 75 | table.o : table.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h \ |
76 | fallback.h | 76 | fallback.h |
77 | tree.o : tree.c mem.h lua.h tree.h types.h table.h opcode.h | 77 | tree.o : tree.c mem.h lua.h tree.h types.h table.h opcode.h |
78 | y.tab.o : y.tab.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h | 78 | parser.o : parser.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h |