diff options
author | tomas <tomas> | 2006-06-08 16:23:25 +0000 |
---|---|---|
committer | tomas <tomas> | 2006-06-08 16:23:25 +0000 |
commit | b6c8c1394289d63100c738cd7322a4486cd076a6 (patch) | |
tree | da96411a69b0e2cd4cde0d21b5da7903d41fbb17 /Makefile | |
parent | 59ef09d270fbcc74b45bfc617dbdba45783169d8 (diff) | |
download | luafilesystem-b6c8c1394289d63100c738cd7322a4486cd076a6.tar.gz luafilesystem-b6c8c1394289d63100c738cd7322a4486cd076a6.tar.bz2 luafilesystem-b6c8c1394289d63100c738cd7322a4486cd076a6.zip |
Adding support for compilation on both Lua 5.0 and Lua 5.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | # $Id: Makefile,v 1.26 2005/06/27 17:06:01 tomas Exp $ | 1 | # $Id: Makefile,v 1.27 2006/06/08 16:23:25 tomas Exp $ |
2 | 2 | ||
3 | T= lfs | 3 | T= lfs |
4 | V= 1.2 | 4 | V= 1.2 |
@@ -6,7 +6,10 @@ CONFIG= ./config | |||
6 | 6 | ||
7 | include $(CONFIG) | 7 | include $(CONFIG) |
8 | 8 | ||
9 | ifeq "$(LUA_VERSION_NUM)" "500" | ||
9 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o | 10 | COMPAT_O= $(COMPAT_DIR)/compat-5.1.o |
11 | endif | ||
12 | |||
10 | SRCS= src/$T.c | 13 | SRCS= src/$T.c |
11 | OBJS= src/$T.o $(COMPAT_O) | 14 | OBJS= src/$T.o $(COMPAT_O) |
12 | 15 | ||