diff options
author | mascarenhas <mascarenhas> | 2008-01-23 02:48:47 +0000 |
---|---|---|
committer | mascarenhas <mascarenhas> | 2008-01-23 02:48:47 +0000 |
commit | 804e97640761023561a8ef791f0151653c41da97 (patch) | |
tree | 5cadb38b2ba197045dac5fa4a587e40e35361ef1 /rockspecs | |
parent | d219de7885384cecdef3da5dd90939d7676c0930 (diff) | |
download | luafilesystem-804e97640761023561a8ef791f0151653c41da97.tar.gz luafilesystem-804e97640761023561a8ef791f0151653c41da97.tar.bz2 luafilesystem-804e97640761023561a8ef791f0151653c41da97.zip |
updated makefile for vc2008
Diffstat (limited to 'rockspecs')
-rw-r--r-- | rockspecs/luafilesystem-cvs-1.rockspec | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/rockspecs/luafilesystem-cvs-1.rockspec b/rockspecs/luafilesystem-cvs-1.rockspec index 253f4f1..a02d4f1 100644 --- a/rockspecs/luafilesystem-cvs-1.rockspec +++ b/rockspecs/luafilesystem-cvs-1.rockspec | |||
@@ -17,8 +17,28 @@ dependencies = { | |||
17 | "lua >= 5.1" | 17 | "lua >= 5.1" |
18 | } | 18 | } |
19 | build = { | 19 | build = { |
20 | type = "module", | 20 | platforms = { |
21 | modules = { | 21 | unix = { |
22 | lfs = "src/lfs.c" | 22 | type = "make", |
23 | } | 23 | build_variables = { |
24 | LIB_OPTION = "$(LIBFLAG)", | ||
25 | CFLAGS = "$(CFLAGS) -I$(LUA_INCDIR)", | ||
26 | }, | ||
27 | install_variables = { | ||
28 | LUA_LIBDIR = "$(LIBDIR)" | ||
29 | } | ||
30 | }, | ||
31 | win32 = { | ||
32 | type = "make", | ||
33 | build_variables = { | ||
34 | LUA_LIB = "$(LUA_LIBDIR)\\lua5.1.lib", | ||
35 | CFLAGS = "$(CFLAGS) /I$(LUA_INCDIR)", | ||
36 | }, | ||
37 | install_variables = { | ||
38 | LUA_LIBDIR = "$(LIBDIR)", | ||
39 | LUA_DIR = "$(LUADIR)", | ||
40 | BIN_DIR = "$(BINDIR)" | ||
41 | } | ||
42 | } | ||
43 | } | ||
24 | } | 44 | } |