clang.mk

Mon, 09 Sep 2013 10:48:08 +0200

author
Mike Becker <universe@uap-core.de>
date
Mon, 09 Sep 2013 10:48:08 +0200
changeset 155
45395ba5ed30
parent 152
3238f65db163
child 156
6a4bd1f4c57e
permissions
-rw-r--r--

further improved build system (debug is now a target instead of a configuration)

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

mercurial