make/clang.mk

Fri, 23 May 2025 12:44:24 +0200

author
Mike Becker <universe@uap-core.de>
date
Fri, 23 May 2025 12:44:24 +0200
changeset 1327
ed75dc1db503
parent 1311
7072b20aa51f
permissions
-rw-r--r--

make test-compile depend on both static and shared

the shared lib is not needed for the tests,
but when run with coverage, gcov will be confused
when outdated line information is available from
a previous shared build

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 =
988
15b3ca7ee33f make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents: 960
diff changeset
6 CXXFLAGS = -fpermissive
1311
7072b20aa51f fix wrong flags in toolchain.mk files after updating uwproj
Mike Becker <universe@uap-core.de>
parents: 988
diff changeset
7 DEBUG_CFLAGS = -g -Wall -Wextra -pedantic
7072b20aa51f fix wrong flags in toolchain.mk files after updating uwproj
Mike Becker <universe@uap-core.de>
parents: 988
diff changeset
8 RELEASE_CFLAGS = -O3 -DNDEBUG
753
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
9 LDFLAGS =
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
10
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
11 SHLIB_CFLAGS = -fPIC
754
4bc7d966c9db add an uwproj based install target
Mike Becker <universe@uap-core.de>
parents: 753
diff changeset
12 SHLIB_LDFLAGS = -shared

mercurial