diff options
author | Reuben Thomas <rrt@sc3d.org> | 2010-08-01 10:34:14 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2010-08-01 10:34:14 +0100 |
commit | 718e1c51d65ff27c6f801466d652bdf2103dc287 (patch) | |
tree | 1c98a4144f0b1a9ebb4d14ec52b137883ea318c4 /windows | |
parent | f6d3944dee6bb9b05ff572857738e806f4b075f1 (diff) | |
download | lrexlib-718e1c51d65ff27c6f801466d652bdf2103dc287.tar.gz |
Add mingw makefile for GNU, from Shmuel.
Diffstat (limited to 'windows')
-rw-r--r-- | windows/mingw/rex_gnu.mak | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/windows/mingw/rex_gnu.mak b/windows/mingw/rex_gnu.mak new file mode 100644 index 0000000..157951c --- /dev/null +++ b/windows/mingw/rex_gnu.mak @@ -0,0 +1,34 @@ +# Project: rex_gnu + +# User Settings ------------------------------------------------------------ +# path of Lua include files +LUAINC = s:\progr\work\system\include + +# path of GNU include files +REGEXINC = s:\progr\work\system\include\gnuregex + +# path of Lua DLL and regex2.dll +DLLPATH = c:\exe + +# name of Lua DLL to link to (.dll should be omitted) +LUADLL = lua5.1 + +# path to install rex_gnu.dll +INSTALLPATH = s:\exe\lib\lua\5.1 +# -------------------------------------------------------------------------- + +PROJECT = rex_gnu +MYINCS = -I$(REGEXINC) -I$(LUAINC) +MYLIBS = -L$(DLLPATH) -lregex2 -l$(LUADLL) +OBJ = lgnu.o common.o +MYCFLAGS = -W -Wall -O2 +EXPORTED = 'luaopen_$(PROJECT)' +SRCPATH = ..\..\src;..\..\src\gnu +TESTPATH = ..\..\test +TESTNAME = gnu + +include _mingw.mak + +lgnu.o : common.h algo.h +common.o : common.h + |