diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-10-09 15:51:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1995-10-09 15:51:49 -0300 |
commit | 3c75b755167d899c9b65a7e5a622b8e93ce52ed6 (patch) | |
tree | b9549d573fc036f0bc9b781ec9c19ed8fb18bbf9 | |
parent | 36a7fda014d59ef14ca1fcbcf5bb38141495f11f (diff) | |
download | lua-3c75b755167d899c9b65a7e5a622b8e93ce52ed6.tar.gz lua-3c75b755167d899c9b65a7e5a622b8e93ce52ed6.tar.bz2 lua-3c75b755167d899c9b65a7e5a622b8e93ce52ed6.zip |
new module "func", for GC of functions,
and new "defines" for configuration setup.
-rw-r--r-- | makefile | 40 |
1 files changed, 25 insertions, 15 deletions
@@ -1,7 +1,12 @@ | |||
1 | # $Id: makefile,v 1.12 1995/02/02 19:02:03 roberto Exp $ | 1 | # $Id: makefile,v 1.13 1995/10/04 19:19:46 roberto Exp roberto $ |
2 | |||
3 | #configuration | ||
4 | |||
5 | # define (undefine) POPEN if your system (does not) support piped I/O | ||
6 | CONFIG = -DPOPEN | ||
2 | # Compilation parameters | 7 | # Compilation parameters |
3 | CC = gcc | 8 | CC = gcc |
4 | CFLAGS = -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2 | 9 | CFLAGS = $(CONFIG) -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2 |
5 | 10 | ||
6 | #CC = acc | 11 | #CC = acc |
7 | #CFLAGS = -fast -I/usr/5include | 12 | #CFLAGS = -fast -I/usr/5include |
@@ -19,7 +24,8 @@ LUAMOD = \ | |||
19 | inout \ | 24 | inout \ |
20 | tree \ | 25 | tree \ |
21 | fallback\ | 26 | fallback\ |
22 | mem | 27 | mem \ |
28 | func | ||
23 | 29 | ||
24 | LIBMOD = \ | 30 | LIBMOD = \ |
25 | iolib \ | 31 | iolib \ |
@@ -61,18 +67,22 @@ clear : | |||
61 | co $@ | 67 | co $@ |
62 | 68 | ||
63 | 69 | ||
64 | fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h inout.h | 70 | fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h |
65 | hash.o : hash.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h | 71 | func.o : func.c table.h tree.h types.h opcode.h lua.h func.h mem.h |
66 | inout.o : inout.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h | 72 | hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h |
67 | iolib.o : iolib.c mem.h lua.h lualib.h | 73 | inout.o : inout.c mem.h opcode.h lua.h types.h tree.h func.h hash.h inout.h \ |
68 | lex.o : lex.c tree.h types.h table.h opcode.h lua.h inout.h parser.h ugly.h | 74 | table.h |
75 | iolib.o : iolib.c lua.h lualib.h | ||
76 | lex.o : lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h inout.h parser.h \ | ||
77 | ugly.h | ||
69 | lua.o : lua.c lua.h lualib.h | 78 | lua.o : lua.c lua.h lualib.h |
70 | mathlib.o : mathlib.c lualib.h lua.h | 79 | mathlib.o : mathlib.c lualib.h lua.h |
71 | mem.o : mem.c mem.h lua.h | 80 | mem.o : mem.c mem.h lua.h |
72 | opcode.o : opcode.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h \ | 81 | opcode.o : opcode.c mem.h opcode.h lua.h types.h tree.h func.h hash.h inout.h \ |
73 | fallback.h | 82 | table.h fallback.h |
74 | strlib.o : strlib.c mem.h lua.h lualib.h | 83 | parser.o : parser.c mem.h opcode.h lua.h types.h tree.h func.h hash.h inout.h \ |
75 | table.o : table.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h \ | 84 | table.h |
76 | fallback.h | 85 | strlib.o : strlib.c lua.h lualib.h |
77 | tree.o : tree.c mem.h lua.h tree.h types.h table.h opcode.h | 86 | table.o : table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h \ |
78 | parser.o : parser.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h | 87 | inout.h fallback.h |
88 | tree.o : tree.c mem.h lua.h tree.h types.h table.h opcode.h func.h | ||