From 718e1c51d65ff27c6f801466d652bdf2103dc287 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 1 Aug 2010 10:34:14 +0100 Subject: Add mingw makefile for GNU, from Shmuel. --- windows/mingw/rex_gnu.mak | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 windows/mingw/rex_gnu.mak 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 + -- cgit v1.2.1