summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2010-08-01 11:27:06 +0100
committerReuben Thomas <rrt@sc3d.org>2010-08-01 11:27:06 +0100
commita26af9f491492276c00d51ebec75d7aa894b523e (patch)
tree40ac3b5b1369ddea0119fd3f0d2d7b36c123c5ac
parent6234d16e51f6c43c3440783a9d1e3644b5f34c44 (diff)
downloadlrexlib-a26af9f491492276c00d51ebec75d7aa894b523e.tar.gz
Add rex_tre.mak from Shmuel.
-rw-r--r--windows/mingw/rex_tre.mak34
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
+