aboutsummaryrefslogtreecommitdiff
path: root/Makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.win')
-rw-r--r--Makefile.win15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile.win b/Makefile.win
index aeff54a..9e8f6fc 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -1,4 +1,4 @@
1# $Id: Makefile.win,v 1.6 2008/01/23 01:58:25 mascarenhas Exp $ 1# $Id: Makefile.win,v 1.7 2008/01/23 02:48:47 mascarenhas Exp $
2 2
3T= lfs 3T= lfs
4V= 1.3.0 4V= 1.3.0
@@ -8,17 +8,18 @@ include config.win
8SRCS= src\$T.c 8SRCS= src\$T.c
9OBJS= src\$T.obj 9OBJS= src\$T.obj
10 10
11lib: src\$(LIBNAME) 11lib: src\lfs.dll
12 12
13.c.obj: 13.c.obj:
14 $(CC) /c /Fo$@ $(CFLAGS) $< 14 $(CC) /c /Fo$@ $(CFLAGS) $<
15 15
16src\$(LIBNAME): $(OBJS) 16src\lfs.dll: $(OBJS)
17 link /manifest:no /dll /def:src\$T.def /out:src\$(LIBNAME) $(OBJS) $(LUA_LIB) 17 link /dll /def:src\$T.def /out:src\lfs.dll $(OBJS) $(LUA_LIB)
18 mt -manifest src\lfs.dll.manifest -outputresource:src\lfs.dll;2
18 19
19install: src\$(LIBNAME) 20install: src\lfs.dll
20 IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR) 21 IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR)
21 copy src\$(LIBNAME) $(LUA_LIBDIR) 22 copy src\lfs.dll $(LUA_LIBDIR)
22 23
23clean: 24clean:
24 del src\$(LIBNAME) $(OBJS) src\$T.lib src\$T.exp 25 del src\lfs.dll $(OBJS) src\$T.lib src\$T.exp