diff options
Diffstat (limited to 'Makefile.win')
-rw-r--r-- | Makefile.win | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/Makefile.win b/Makefile.win index b9cddc8..155b548 100644 --- a/Makefile.win +++ b/Makefile.win | |||
@@ -1,22 +1,21 @@ | |||
1 | # $Id: Makefile.win,v 1.1 2006/12/04 15:28:53 mascarenhas Exp $ | 1 | # $Id: Makefile.win,v 1.2 2006/12/04 18:24:18 mascarenhas Exp $ |
2 | 2 | ||
3 | T= lfs | 3 | T= lfs |
4 | V= 1.2.1 | 4 | V= 1.2.1 |
5 | CONFIG= ./config.win | ||
6 | 5 | ||
7 | include $(CONFIG) | 6 | include config.win |
8 | 7 | ||
9 | SRCS= src/$T.c | 8 | SRCS= src\$T.c |
10 | OBJS= src/$T.obj | 9 | OBJS= src\$T.obj |
11 | 10 | ||
12 | lib: src/$(LIBNAME) | 11 | lib: src\$(LIBNAME) |
13 | 12 | ||
14 | src/$(LIBNAME): $(OBJS) | 13 | src\$(LIBNAME): $(OBJS) |
15 | link /dll /out:src/$(LIBNAME) $(OBJS) $(LUA_LIB) | 14 | link /dll /def:src\$T.def /out:src\$(LIBNAME) $(OBJS) $(LUA_LIB) |
16 | 15 | ||
17 | install: src/$(LIBNAME) | 16 | install: src\$(LIBNAME) |
18 | mkdir -p $(LUA_LIBDIR) | 17 | IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR) |
19 | copy src/$(LIBNAME) $(LUA_LIBDIR) | 18 | copy src\$(LIBNAME) $(LUA_LIBDIR) |
20 | 19 | ||
21 | clean: | 20 | clean: |
22 | del src/$(LIBNAME) $(OBJS) | 21 | del src\$(LIBNAME) $(OBJS) |