commit 3c75b755167d899c9b65a7e5a622b8e93ce52ed6
parent 36a7fda014d59ef14ca1fcbcf5bb38141495f11f
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Mon, 9 Oct 1995 15:51:30 -0300
new module "func", for GC of functions,
and new "defines" for configuration setup.
Diffstat:
M | makefile | | | 40 | +++++++++++++++++++++++++--------------- |
1 file changed, 25 insertions(+), 15 deletions(-)
diff --git a/makefile b/makefile
@@ -1,7 +1,12 @@
-# $Id: makefile,v 1.12 1995/02/02 19:02:03 roberto Exp $
+# $Id: makefile,v 1.13 1995/10/04 19:19:46 roberto Exp roberto $
+
+#configuration
+
+# define (undefine) POPEN if your system (does not) support piped I/O
+CONFIG = -DPOPEN
# Compilation parameters
CC = gcc
-CFLAGS = -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2
+CFLAGS = $(CONFIG) -I/usr/5include -Wall -Wmissing-prototypes -Wshadow -ansi -O2
#CC = acc
#CFLAGS = -fast -I/usr/5include
@@ -19,7 +24,8 @@ LUAMOD = \
inout \
tree \
fallback\
- mem
+ mem \
+ func
LIBMOD = \
iolib \
@@ -61,18 +67,22 @@ clear :
co $@
-fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h inout.h
-hash.o : hash.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h
-inout.o : inout.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h
-iolib.o : iolib.c mem.h lua.h lualib.h
-lex.o : lex.c tree.h types.h table.h opcode.h lua.h inout.h parser.h ugly.h
+fallback.o : fallback.c mem.h fallback.h opcode.h lua.h types.h tree.h func.h
+func.o : func.c table.h tree.h types.h opcode.h lua.h func.h mem.h
+hash.o : hash.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h
+inout.o : inout.c mem.h opcode.h lua.h types.h tree.h func.h hash.h inout.h \
+ table.h
+iolib.o : iolib.c lua.h lualib.h
+lex.o : lex.c mem.h tree.h types.h table.h opcode.h lua.h func.h inout.h parser.h \
+ ugly.h
lua.o : lua.c lua.h lualib.h
mathlib.o : mathlib.c lualib.h lua.h
mem.o : mem.c mem.h lua.h
-opcode.o : opcode.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h \
- fallback.h
-strlib.o : strlib.c mem.h lua.h lualib.h
-table.o : table.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h \
- fallback.h
-tree.o : tree.c mem.h lua.h tree.h types.h table.h opcode.h
-parser.o : parser.c mem.h opcode.h lua.h types.h tree.h hash.h inout.h table.h
+opcode.o : opcode.c mem.h opcode.h lua.h types.h tree.h func.h hash.h inout.h \
+ table.h fallback.h
+parser.o : parser.c mem.h opcode.h lua.h types.h tree.h func.h hash.h inout.h \
+ table.h
+strlib.o : strlib.c lua.h lualib.h
+table.o : table.c mem.h opcode.h lua.h types.h tree.h func.h hash.h table.h \
+ inout.h fallback.h
+tree.o : tree.c mem.h lua.h tree.h types.h table.h opcode.h func.h