aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/makefile b/makefile
index 4b0423c0..b14b8e3f 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,5 @@
1# 1#
2## $Id: makefile,v 1.32 2001/07/24 22:40:08 roberto Exp $ 2## $Id: makefile,v 1.34 2002/02/14 21:49:33 roberto Exp roberto $
3## Makefile 3## Makefile
4## See Copyright Notice in lua.h 4## See Copyright Notice in lua.h
5# 5#
@@ -18,11 +18,12 @@
18 18
19#EXTRA_H=-DLUA_USER_H='"ltests.h"' 19#EXTRA_H=-DLUA_USER_H='"ltests.h"'
20 20
21CONFIG = -D_POSIX_SOURCE $(EXTRA_H) 21CONFIG = -D_POSIX_SOURCE $(EXTRA_H) \
22 -D'lua_number2int(i,d)=__asm__("fldl %1\nfistpl %0":"=m"(i):"m"(d))'
22 23
23 24
24# Compilation parameters 25# Compilation parameters
25CC = g++ 26CC = gcc
26CWARNS = -Wall -pedantic \ 27CWARNS = -Wall -pedantic \
27 -Waggregate-return \ 28 -Waggregate-return \
28 -Wcast-align \ 29 -Wcast-align \
@@ -146,9 +147,9 @@ ltests.o: ltests.c lua.h lapi.h lobject.h llimits.h lauxlib.h lcode.h \
146 luadebug.h ldo.h lfunc.h lmem.h lstring.h lualib.h 147 luadebug.h ldo.h lfunc.h lmem.h lstring.h lualib.h
147ltm.o: ltm.c lua.h lobject.h llimits.h lstate.h ltm.h luadebug.h \ 148ltm.o: ltm.c lua.h lobject.h llimits.h lstate.h ltm.h luadebug.h \
148 lstring.h ltable.h 149 lstring.h ltable.h
149lua.o: lua.c lua.h luadebug.h lualib.h 150lua.o: lua.c lua.h lauxlib.h luadebug.h lualib.h
150lundump.o: lundump.c lua.h ldebug.h lstate.h lobject.h llimits.h ltm.h \ 151lundump.o: lundump.c lua.h ldebug.h lstate.h lobject.h llimits.h ltm.h \
151 luadebug.h lfunc.h lmem.h lopcodes.h lstring.h lundump.h lzio.h 152 luadebug.h lfunc.h lmem.h lopcodes.h lstring.h lundump.h lzio.h
152lvm.o: lvm.c lua.h lapi.h lobject.h llimits.h ldebug.h lstate.h ltm.h \ 153lvm.o: lvm.c lua.h ldebug.h lstate.h lobject.h llimits.h ltm.h \
153 luadebug.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h ltable.h lvm.h 154 luadebug.h ldo.h lfunc.h lgc.h lopcodes.h lstring.h ltable.h lvm.h
154lzio.o: lzio.c lua.h lzio.h 155lzio.o: lzio.c lua.h lzio.h