summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-09-01 10:49:20 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-09-01 10:49:20 -0300
commit9c34e23214acbfbb195f767a4e90011e8618d755 (patch)
treefe6fb43fec97e63f91f3b1553698ece4f23773aa /makefile
parent2aba14b623c512f759291aeadc6309346ad93974 (diff)
downloadlua-github-9c34e23214acbfbb195f767a4e90011e8618d755.tar.gz
new libs `loslibĀ“ and `linitĀ“
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/makefile b/makefile
index 1f0cfa51..e80d5fc9 100644
--- 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) $@ $?