mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
updated makefile for vc2008
This commit is contained in:
15
Makefile.win
15
Makefile.win
@@ -1,4 +1,4 @@
|
||||
# $Id: Makefile.win,v 1.6 2008/01/23 01:58:25 mascarenhas Exp $
|
||||
# $Id: Makefile.win,v 1.7 2008/01/23 02:48:47 mascarenhas Exp $
|
||||
|
||||
T= lfs
|
||||
V= 1.3.0
|
||||
@@ -8,17 +8,18 @@ include config.win
|
||||
SRCS= src\$T.c
|
||||
OBJS= src\$T.obj
|
||||
|
||||
lib: src\$(LIBNAME)
|
||||
lib: src\lfs.dll
|
||||
|
||||
.c.obj:
|
||||
$(CC) /c /Fo$@ $(CFLAGS) $<
|
||||
|
||||
src\$(LIBNAME): $(OBJS)
|
||||
link /manifest:no /dll /def:src\$T.def /out:src\$(LIBNAME) $(OBJS) $(LUA_LIB)
|
||||
src\lfs.dll: $(OBJS)
|
||||
link /dll /def:src\$T.def /out:src\lfs.dll $(OBJS) $(LUA_LIB)
|
||||
mt -manifest src\lfs.dll.manifest -outputresource:src\lfs.dll;2
|
||||
|
||||
install: src\$(LIBNAME)
|
||||
install: src\lfs.dll
|
||||
IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR)
|
||||
copy src\$(LIBNAME) $(LUA_LIBDIR)
|
||||
copy src\lfs.dll $(LUA_LIBDIR)
|
||||
|
||||
clean:
|
||||
del src\$(LIBNAME) $(OBJS) src\$T.lib src\$T.exp
|
||||
del src\lfs.dll $(OBJS) src\$T.lib src\$T.exp
|
||||
|
||||
Reference in New Issue
Block a user