This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Fabio Mascarenhas
committed
Mar 22, 2007
1 parent
0e5d8fc
commit 07a26cd
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
LUA_INC=c:\lua5.1\include | ||
LUA_DIR=c:\lua5.1\lua | ||
LUA_LIBDIR=c:\lua5.1\lib | ||
LUA_LIB=c:\lua5.1\bin\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 | ||
|
||
# $Id: makefile.win,v 1.1 2007-03-22 21:55:01 mascarenhas Exp $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
EXPORTS | ||
luaopen_lxp |