diff options
-rw-r--r-- | windows/mingw/rex_tre.mak | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/windows/mingw/rex_tre.mak b/windows/mingw/rex_tre.mak new file mode 100644 index 0000000..71c1b33 --- /dev/null +++ b/windows/mingw/rex_tre.mak @@ -0,0 +1,34 @@ +# Project: rex_tre + +# User Settings ------------------------------------------------------------ +# path of Lua include files +LUAINC = s:\progr\work\system\include + +# path of TRE include files +REGEXINC = s:\progr\work\system\include + +# path of Lua DLL and tre.dll +DLLPATH = c:\exe + +# name of Lua DLL to link to (.dll should be omitted) +LUADLL = lua5.1 + +# path to install rex_tre.dll +INSTALLPATH = s:\exe\lib\lua\5.1 +# -------------------------------------------------------------------------- + +PROJECT = rex_tre +MYINCS = -I$(REGEXINC) -I$(LUAINC) +MYLIBS = -L$(DLLPATH) -ltre -l$(LUADLL) +OBJ = ltre.o common.o +MYCFLAGS = -W -Wall -O2 +EXPORTED = 'luaopen_$(PROJECT)' +SRCPATH = ..\..\src;..\..\src\tre +TESTPATH = ..\..\test +TESTNAME = tre + +include _mingw.mak + +ltre.o : common.h algo.h +common.o : common.h + |