commit 9c34e23214acbfbb195f767a4e90011e8618d755
parent 2aba14b623c512f759291aeadc6309346ad93974
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 1 Sep 2004 10:48:58 -0300
new libs `loslib´ and `linit´
Diffstat:
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/makefile b/makefile
@@ -1,5 +1,5 @@
#
-## $Id: makefile,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
+## $Id: makefile,v 2.2 2004/04/30 20:13:38 roberto Exp roberto $
## Makefile
## See Copyright Notice in lua.h
#
@@ -8,13 +8,13 @@
#CONFIGURATION
# -DEXTERNMEMCHECK -DHARDSTACKTESTS
-DEBUG = -g -DLUA_USER_H='"ltests.h"'
+# DEBUG = -g -DLUA_USER_H='"ltests.h"'
OPTIMIZE = -O2 \
-# -fomit-frame-pointer
+# -fomit-frame-pointer -pg
# -DUSE_TMPNAME??
-CONFIG = $(DEBUG) $(OPTIMIZE) -DLUA_COMPATUPSYNTAX -DUSE_DLOPEN
+CONFIG = $(DEBUG) $(OPTIMIZE)
# Compilation parameters
@@ -71,13 +71,15 @@ LIBOBJS = \
ltablib.o \
lmathlib.o \
liolib.o \
+ linit.o \
+ loslib.o \
lstrlib.o \
ldblib.o \
loadlib.o
lua : lua.o liblua.a liblualib.a
- $(CC) $(CFLAGS) -o $@ lua.o -Wl,-E -L. -llua -llualib -lm -ldl
+ $(CC) $(CFLAGS) -o $@ lua.o -Wl,-E -L. -llua -llualib -lm -ldl
liblua.a : $(LUAOBJS)
$(AR) $(ARFLAGS) $@ $?