make/suncc.mk

Sun, 17 Dec 2023 14:25:34 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 17 Dec 2023 14:25:34 +0100
changeset 797
edbb20b1438d
parent 742
7e67689241fd
child 802
16e5b9d32754
permissions
-rw-r--r--

[Makefile] fix missing rules preventing dry-runs

We have to support dry-runs, because many IDEs are using
dry-runs to collect build information.

Some rules have dependencies that expect certain files or
directories to be just present. We added respective build
rules which invoke the test program. This way, the behavior
when running make normally is exactly the same, but dry-runs
are also not failing now.

#
# suncc toolchain
#

CFLAGS += -xc99 -g -m64
LDFLAGS += -m64 -Wl,-R,'$$ORIGIN/../lib'

SHLIB_CFLAGS = -Kpic
SHLIB_LDFLAGS = -G -m64

mercurial