diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-22 11:05:33 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-22 11:05:33 -0200 |
| commit | d5ebc3ff6de4b5f7019bb887e917e00cb3a0a899 (patch) | |
| tree | f99dc19a1b525aa2385f1fdb4b8f6677a960c58f | |
| parent | 3d19aee78f7f9140548bd550559092eeff837409 (diff) | |
| download | lua-d5ebc3ff6de4b5f7019bb887e917e00cb3a0a899.tar.gz lua-d5ebc3ff6de4b5f7019bb887e917e00cb3a0a899.tar.bz2 lua-d5ebc3ff6de4b5f7019bb887e917e00cb3a0a899.zip | |
small changes
| -rw-r--r-- | makefile | 14 |
1 files changed, 9 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | # | 1 | # |
| 2 | ## $Id: makefile,v 2.2 2004/04/30 20:13:38 roberto Exp roberto $ | 2 | ## $Id: makefile,v 2.3 2004/09/01 13:49:20 roberto Exp $ |
| 3 | ## Makefile | 3 | ## Makefile |
| 4 | ## See Copyright Notice in lua.h | 4 | ## See Copyright Notice in lua.h |
| 5 | # | 5 | # |
| @@ -9,8 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | # -DEXTERNMEMCHECK -DHARDSTACKTESTS | 10 | # -DEXTERNMEMCHECK -DHARDSTACKTESTS |
| 11 | # DEBUG = -g -DLUA_USER_H='"ltests.h"' | 11 | # DEBUG = -g -DLUA_USER_H='"ltests.h"' |
| 12 | OPTIMIZE = -O2 \ | 12 | OPTIMIZE = -O2 -march=pentium \ |
| 13 | # -fomit-frame-pointer -pg | 13 | # -fomit-frame-pointer #-pg -malign-double |
| 14 | 14 | ||
| 15 | 15 | ||
| 16 | # -DUSE_TMPNAME?? | 16 | # -DUSE_TMPNAME?? |
| @@ -23,14 +23,16 @@ CWARNS = -Wall -pedantic \ | |||
| 23 | -Waggregate-return \ | 23 | -Waggregate-return \ |
| 24 | -Wcast-align \ | 24 | -Wcast-align \ |
| 25 | -Wmissing-prototypes \ | 25 | -Wmissing-prototypes \ |
| 26 | -Wstrict-prototypes \ | ||
| 27 | -Wnested-externs \ | 26 | -Wnested-externs \ |
| 28 | -Wpointer-arith \ | 27 | -Wpointer-arith \ |
| 29 | -Wshadow \ | 28 | -Wshadow \ |
| 29 | -Wsign-compare \ | ||
| 30 | -Wstrict-prototypes \ | ||
| 31 | -Wundef \ | ||
| 30 | -Wwrite-strings \ | 32 | -Wwrite-strings \ |
| 31 | # -Wtraditional \ | ||
| 32 | # -Wcast-qual | 33 | # -Wcast-qual |
| 33 | 34 | ||
| 35 | |||
| 34 | CFLAGS = $(CONFIG) $(CWARNS) # -ansi | 36 | CFLAGS = $(CONFIG) $(CWARNS) # -ansi |
| 35 | 37 | ||
| 36 | 38 | ||
| @@ -126,6 +128,7 @@ lfunc.o: lfunc.c lua.h luaconf.h lfunc.h lobject.h llimits.h lgc.h lmem.h \ | |||
| 126 | lstate.h ltm.h lzio.h | 128 | lstate.h ltm.h lzio.h |
| 127 | lgc.o: lgc.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h ltm.h \ | 129 | lgc.o: lgc.c lua.h luaconf.h ldebug.h lstate.h lobject.h llimits.h ltm.h \ |
| 128 | lzio.h lmem.h ldo.h lfunc.h lgc.h lstring.h ltable.h | 130 | lzio.h lmem.h ldo.h lfunc.h lgc.h lstring.h ltable.h |
| 131 | linit.o: linit.c lua.h luaconf.h lualib.h lauxlib.h | ||
| 129 | liolib.o: liolib.c lua.h luaconf.h lauxlib.h lualib.h | 132 | liolib.o: liolib.c lua.h luaconf.h lauxlib.h lualib.h |
| 130 | llex.o: llex.c lua.h luaconf.h ldo.h lobject.h llimits.h lstate.h ltm.h \ | 133 | llex.o: llex.c lua.h luaconf.h ldo.h lobject.h llimits.h lstate.h ltm.h \ |
| 131 | lzio.h lmem.h llex.h lparser.h ltable.h lstring.h lgc.h | 134 | lzio.h lmem.h llex.h lparser.h ltable.h lstring.h lgc.h |
| @@ -136,6 +139,7 @@ loadlib.o: loadlib.c lua.h luaconf.h lauxlib.h lualib.h | |||
| 136 | lobject.o: lobject.c lua.h luaconf.h ldo.h lobject.h llimits.h lstate.h \ | 139 | lobject.o: lobject.c lua.h luaconf.h ldo.h lobject.h llimits.h lstate.h \ |
| 137 | ltm.h lzio.h lmem.h lstring.h lgc.h lvm.h | 140 | ltm.h lzio.h lmem.h lstring.h lgc.h lvm.h |
| 138 | lopcodes.o: lopcodes.c lua.h luaconf.h lobject.h llimits.h lopcodes.h | 141 | lopcodes.o: lopcodes.c lua.h luaconf.h lobject.h llimits.h lopcodes.h |
| 142 | loslib.o: loslib.c lua.h luaconf.h lauxlib.h lualib.h | ||
| 139 | lparser.o: lparser.c lua.h luaconf.h lcode.h llex.h lobject.h llimits.h \ | 143 | lparser.o: lparser.c lua.h luaconf.h lcode.h llex.h lobject.h llimits.h \ |
| 140 | lzio.h lmem.h lopcodes.h lparser.h ltable.h ldebug.h lstate.h ltm.h \ | 144 | lzio.h lmem.h lopcodes.h lparser.h ltable.h ldebug.h lstate.h ltm.h \ |
| 141 | ldo.h lfunc.h lstring.h lgc.h | 145 | ldo.h lfunc.h lstring.h lgc.h |
