make/gcc.mk

Tue, 02 Jan 2024 23:31:00 +0100

author
Mike Becker <universe@uap-core.de>
date
Tue, 02 Jan 2024 23:31:00 +0100
changeset 791
945ee9bf2dd1
parent 788
b34ff44e6433
permissions
-rw-r--r--

generate (release) config.mk if none exists - fixes #350

#
# gcc toolchain config
#

CFLAGS =
DEBUG_CC_FLAGS = -g -Wall -Wextra -pedantic
RELEASE_CC_FLAGS = -O3 -DNDEBUG
LDFLAGS =

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

COVERAGE_CFLAGS = --coverage
COVERAGE_LDFLAGS =  --coverage

mercurial