[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Confuse-devel] [PATCH 3/3] mingw: add support for a make file

From: Carlo Marcelo Arenas Belon
Subject: [Confuse-devel] [PATCH 3/3] mingw: add support for a make file
Date: Sun, 4 Jul 2010 07:42:45 -0700

uses the same instructions from README.TXT and ideal in crosscompiled

Signed-off-by: Carlo Marcelo Arenas Belon <address@hidden>
 windows/mingw/Makefile   |   15 +++++++++++++++
 windows/mingw/README.TXT |    4 +++-
 2 files changed, 18 insertions(+), 1 deletions(-)
 create mode 100644 windows/mingw/Makefile

diff --git a/windows/mingw/Makefile b/windows/mingw/Makefile
new file mode 100644
index 0000000..61c3131
--- /dev/null
+++ b/windows/mingw/Makefile
@@ -0,0 +1,15 @@
+all: libconfuse.a
+libconfuse.a: confuse.o lexer.o
+       $(AR) $(ARFLAGS) $@ $^
+       rm -f *.o *.a
diff --git a/windows/mingw/README.TXT b/windows/mingw/README.TXT
index 30435e1..f810547 100644
--- a/windows/mingw/README.TXT
+++ b/windows/mingw/README.TXT
@@ -7,9 +7,11 @@ Compilation of the static library with MinGW.
 1) In order to build the library successfully, you should first check that the
    MinGW 'bin' directory is in the PATH environment variable.
-2) Then, launch the script 'build.bat' to produce 'libconfuse.a'.
+2) Then, if running in Windows launch the script 'build.bat' to produce
+   'libconfuse.a' or if crosscompiling just run ming32-make
 This script has been tested with MinGW 3.1.0 under Windows 2000.
+The Makefile has been tested with MinGW 3.15.2 under Fedora 13.
 It should also work with other versions of MinGW and Windows.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]