aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortomas <tomas>2006-06-08 16:23:25 +0000
committertomas <tomas>2006-06-08 16:23:25 +0000
commitb6c8c1394289d63100c738cd7322a4486cd076a6 (patch)
treeda96411a69b0e2cd4cde0d21b5da7903d41fbb17 /Makefile
parent59ef09d270fbcc74b45bfc617dbdba45783169d8 (diff)
downloadluafilesystem-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--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f8ee01d..ffbcd81 100644
--- a/Makefile
+++ b/Makefile
@@ -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
3T= lfs 3T= lfs
4V= 1.2 4V= 1.2
@@ -6,7 +6,10 @@ CONFIG= ./config
6 6
7include $(CONFIG) 7include $(CONFIG)
8 8
9ifeq "$(LUA_VERSION_NUM)" "500"
9COMPAT_O= $(COMPAT_DIR)/compat-5.1.o 10COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
11endif
12
10SRCS= src/$T.c 13SRCS= src/$T.c
11OBJS= src/$T.o $(COMPAT_O) 14OBJS= src/$T.o $(COMPAT_O)
12 15