diff options
Diffstat (limited to 'Makefile.win')
-rw-r--r-- | Makefile.win | 15 |
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 | ||
3 | T= lfs | 3 | T= lfs |
4 | V= 1.3.0 | 4 | V= 1.3.0 |
@@ -8,17 +8,18 @@ include config.win | |||
8 | SRCS= src\$T.c | 8 | SRCS= src\$T.c |
9 | OBJS= src\$T.obj | 9 | OBJS= src\$T.obj |
10 | 10 | ||
11 | lib: src\$(LIBNAME) | 11 | lib: src\lfs.dll |
12 | 12 | ||
13 | .c.obj: | 13 | .c.obj: |
14 | $(CC) /c /Fo$@ $(CFLAGS) $< | 14 | $(CC) /c /Fo$@ $(CFLAGS) $< |
15 | 15 | ||
16 | src\$(LIBNAME): $(OBJS) | 16 | src\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 | ||
19 | install: src\$(LIBNAME) | 20 | install: 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 | ||
23 | clean: | 24 | clean: |
24 | del src\$(LIBNAME) $(OBJS) src\$T.lib src\$T.exp | 25 | del src\lfs.dll $(OBJS) src\$T.lib src\$T.exp |