mingw.mk

Mon, 05 May 2014 14:52:40 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 05 May 2014 14:52:40 +0200
changeset 165
4d85da1f98db
parent 157
ae7cc5716f38
child 177
11ad03783baf
permissions
-rw-r--r--

hotfix for ucx_buffer_seek documentation

157
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4 # Copyright 2013 Olaf Wintermann. All rights reserved.
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 # Redistribution and use in source and binary forms, with or without
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 # modification, are permitted provided that the following conditions are met:
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 # 1. Redistributions of source code must retain the above copyright
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 # notice, this list of conditions and the following disclaimer.
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
12 # 2. Redistributions in binary form must reproduce the above copyright
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
13 # notice, this list of conditions and the following disclaimer in the
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
14 # documentation and/or other materials provided with the distribution.
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
15 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
18 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
19 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
20 # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
21 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
22 # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
23 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
24 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
25 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
26 # POSSIBILITY OF SUCH DAMAGE.
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
27 #
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
28
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
29 CC = gcc
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
30 LD = gcc
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
31 AR = ar
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
32 RM = rm
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
33 MKDIR = mkdir
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
34
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
35 CFLAGS = -std=gnu99 -O2 -fstrict-aliasing
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
36 CFLAGS_D = -std=gnu99 -g -fstrict-aliasing -Wall -pedantic
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
37 LDFLAGS =
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
38 SOLDFLAGS = -shared
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
39 ARFLAGS = -r
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
40 RMFLAGS = -f -R
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
41 MKDIRFLAGS = -p
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
42
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
43 OBJ_EXT = .o
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
44 SO_EXT = .dll
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
45 LIB_EXT = .a
ae7cc5716f38 added new mingw config
Mike Becker <universe@uap-core.de>
parents:
diff changeset
46 APP_EXT =

mercurial