make/cc.mk

Wed, 17 Jan 2024 21:01:50 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 17 Jan 2024 21:01:50 +0100
changeset 814
5f9e07d3dd6c
parent 788
b34ff44e6433
child 815
b0c4750cecd8
permissions
-rw-r--r--

fix using warning options with compilers which do not support them - fixes #363

753
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
1 #
24dc84788dee replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff changeset
2 # cc toolchain config
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
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
788
b34ff44e6433 move coverage flags to make/*.mk files - relates to #345
Mike Becker <universe@uap-core.de>
parents: 771
diff changeset
11 SHLIB_LDFLAGS = -shared
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 =
b34ff44e6433 move coverage flags to make/*.mk files - relates to #345
Mike Becker <universe@uap-core.de>
parents: 771
diff changeset
14 COVERAGE_LDFLAGS =

mercurial