File: makefile.win

package info (click to toggle)
lua-expat 1.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 224 kB
  • ctags: 131
  • sloc: ansic: 511; makefile: 29
file content (29 lines) | stat: -rw-r--r-- 714 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
LUA_INC=c:\lua5.1\include
LUA_DIR=c:\lua5.1\lua
LUA_LIBDIR=c:\lua5.1
LUA_LIB=c:\lua5.1\lua5.1.lib

OBJS= src\lxplib.obj

EXPAT_INCLUDE=C:\Expat-2.0.0\Source\lib
EXPAT_LIB=C:\Expat-2.0.0\Libs\libexpat.lib

.c.obj:
	cl /c /Fo$@ /O2 /I$(LUA_INC) /I$(EXPAT_INCLUDE) /D_CRT_SECURE_NO_DEPRECATE $<

src\lxp.dll: $(OBJS)
	link /dll /def:src\lxp.def /out:$@ $(OBJS) $(EXPAT_LIB) $(LUA_LIB) 

install: src\lxp.dll
	IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR)
	copy src\lxp.dll $(LUA_LIBDIR)
	IF NOT EXIST $(LUA_DIR)\lxp mkdir $(LUA_DIR)\lxp
	copy src\lxp\lom.lua $(LUA_DIR)\lxp

clean:
	del src\lxp.dll
	del src\*.obj
    del src\lxp.exp
    del src\lxp.lib

# $Id: makefile.win,v 1.3 2007/06/05 20:03:12 carregal Exp $