make/clang.mk

Tue, 16 Jan 2024 23:16:15 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 16 Jan 2024 23:16:15 +0100
changeset 812
fda0f1910d7e
parent 788
b34ff44e6433
child 960
a8a5f3dd5c3d
permissions
-rw-r--r--

fix unnecessary printf retry when printed string is empty

753
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 #
754
4bc7d966c9db add an uwproj based install target
Mike Becker <universe@uap-core.de>
parents: 753
diff changeset
2 # clang toolchain config
753
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
3 #
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
4
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
5 CFLAGS =
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
6 DEBUG_CC_FLAGS = -g -Wall -Wextra -pedantic
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
7 RELEASE_CC_FLAGS = -O3 -DNDEBUG
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
8 LDFLAGS =
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10 SHLIB_CFLAGS = -fPIC
754
4bc7d966c9db add an uwproj based install target
Mike Becker <universe@uap-core.de>
parents: 753
diff changeset
11 SHLIB_LDFLAGS = -shared
788
b34ff44e6433 move coverage flags to make/*.mk files - relates to #345
Mike Becker <universe@uap-core.de>
parents: 771
diff changeset
12
b34ff44e6433 move coverage flags to make/*.mk files - relates to #345
Mike Becker <universe@uap-core.de>
parents: 771
diff changeset
13 COVERAGE_CFLAGS = --coverage
b34ff44e6433 move coverage flags to make/*.mk files - relates to #345
Mike Becker <universe@uap-core.de>
parents: 771
diff changeset
14 COVERAGE_LDFLAGS = --coverage

mercurial