clang.mk

Tue, 19 Sep 2017 15:32:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 19 Sep 2017 15:32:53 +0200
changeset 249
fb21858ad8da
parent 225
a1a068c2c4ef
child 250
b7d1317b138e
permissions
-rw-r--r--

removes unusedFunction check for now (we may add it later to get a further indicator for test coverage)

universe@152 1 #
universe@152 2 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
universe@152 3 #
universe@225 4 # Copyright 2016 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@156 35 CFLAGS = -fPIC -O2 -fstrict-aliasing
universe@156 36 CFLAGS_D = -fPIC -g -fstrict-aliasing -Wall -pedantic
universe@155 37 LDFLAGS = -lm
universe@156 38 SOLDFLAGS = -lm -shared
universe@155 39 ARFLAGS = -r
universe@155 40 RMFLAGS = -f -R
universe@155 41 MKDIRFLAGS = -p
universe@152 42
universe@155 43 OBJ_EXT = .o
universe@156 44 SO_EXT = .so
universe@155 45 LIB_EXT = .a
universe@155 46 APP_EXT =

mercurial