ifneq ($(filter run gdb valgrind attach attach-strace libpath valgrind strace debug lldb,$(MAKECMDGOALS)),) PREREQ_BUILD += $(shell ls /etc/ld.so.conf.d | sed '/ld-.*.conf/ !d; s/ld-\(.*\).conf/\1/') endif