test/make/cc.mk

Sun, 12 Jan 2025 12:40:20 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 12 Jan 2025 12:40:20 +0100
changeset 132
e0478362c2cf
parent 131
7241d072ace4
permissions
-rw-r--r--

add command check to check_c_compiler/check_cpp_compiler, because some shells print an error if it doesn't exist

#
# cc toolchain config
#

CFLAGS =
CXXFLAGS =
DEBUG_CFLAGS = -g
DEBUG_CXXFLAGS = -g
RELEASE_CFLAGS = -O3 -DNDEBUG
RELEASE_CXXFLAGS = -O3 -DNDEBUG
LDFLAGS =

SHLIB_CFLAGS = -fPIC
SHLIB_LDFLAGS = -shared

mercurial