Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 30 lines (22 sloc) 713 Bytes
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.1\Source\lib
EXPAT_LIB=C:\Expat-2.0.1\Bin\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.4 2007-09-29 22:48:21 carregal Exp $