added new mingw config

Mon, 09 Sep 2013 14:26:12 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 09 Sep 2013 14:26:12 +0200
changeset 157
ae7cc5716f38
parent 156
6a4bd1f4c57e
child 158
81d580042da1

added new mingw config

Makefile file | annotate | diff | comparison | revisions
README file | annotate | diff | comparison | revisions
mingw.mk file | annotate | diff | comparison | revisions
     1.1 --- a/Makefile	Mon Sep 09 11:54:32 2013 +0200
     1.2 +++ b/Makefile	Mon Sep 09 14:26:12 2013 +0200
     1.3 @@ -31,6 +31,7 @@
     1.4  # available configurations:
     1.5  #   clang
     1.6  #   gcc
     1.7 +#   mingw
     1.8  #   osx
     1.9  #   suncc
    1.10  #
     2.1 --- a/README	Mon Sep 09 11:54:32 2013 +0200
     2.2 +++ b/README	Mon Sep 09 14:26:12 2013 +0200
     2.3 @@ -32,7 +32,7 @@
     2.4  
     2.5    make
     2.6  
     2.7 -The available configurations are clang, gcc, osx and suncc. 
     2.8 +The available configurations are clang, gcc, mingw, osx and suncc. 
     2.9  
    2.10  The build files are placed into a build subdirectory, which is created if it
    2.11  does not exists.
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mingw.mk	Mon Sep 09 14:26:12 2013 +0200
     3.3 @@ -0,0 +1,46 @@
     3.4 +#
     3.5 +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
     3.6 +#
     3.7 +# Copyright 2013 Olaf Wintermann. All rights reserved.
     3.8 +#
     3.9 +# Redistribution and use in source and binary forms, with or without
    3.10 +# modification, are permitted provided that the following conditions are met:
    3.11 +#
    3.12 +#   1. Redistributions of source code must retain the above copyright
    3.13 +#      notice, this list of conditions and the following disclaimer.
    3.14 +#
    3.15 +#   2. Redistributions in binary form must reproduce the above copyright
    3.16 +#      notice, this list of conditions and the following disclaimer in the
    3.17 +#      documentation and/or other materials provided with the distribution.
    3.18 +#
    3.19 +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
    3.20 +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
    3.21 +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
    3.22 +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
    3.23 +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    3.24 +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    3.25 +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
    3.26 +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
    3.27 +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
    3.28 +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    3.29 +# POSSIBILITY OF SUCH DAMAGE.
    3.30 +#
    3.31 +
    3.32 +CC    = gcc
    3.33 +LD    = gcc
    3.34 +AR    = ar
    3.35 +RM    = rm
    3.36 +MKDIR = mkdir
    3.37 +
    3.38 +CFLAGS     = -std=gnu99 -O2 -fstrict-aliasing
    3.39 +CFLAGS_D   = -std=gnu99 -g -fstrict-aliasing -Wall -pedantic
    3.40 +LDFLAGS    = 
    3.41 +SOLDFLAGS  = -shared
    3.42 +ARFLAGS    = -r
    3.43 +RMFLAGS    = -f -R
    3.44 +MKDIRFLAGS = -p
    3.45 +
    3.46 +OBJ_EXT = .o
    3.47 +SO_EXT  = .dll
    3.48 +LIB_EXT = .a
    3.49 +APP_EXT =

mercurial