summaryrefslogtreecommitdiff
path: root/mk/debug.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/debug.mk')
-rw-r--r--mk/debug.mk16
1 files changed, 0 insertions, 16 deletions
diff --git a/mk/debug.mk b/mk/debug.mk
deleted file mode 100644
index 66c968b3..00000000
--- a/mk/debug.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-# rules to enable debugging support
-# Copyright (c) 2008 Roy Marples <roy@marples.name>
-# Released under the 2-clause BSD license.
-
-_RC_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-DRC_DEBUG";; esac
-_RC_DEBUG:= $(shell ${_RC_DEBUG_SH})
-CPPFLAGS+= ${_RC_DEBUG}
-
-# Should we enable this with a different flag?
-_LD_DEBUG_SH= case "${DEBUG}" in "") echo "";; *) echo "-Wl,--rpath=../librc -Wl,--rpath=../libeinfo";; esac
-_LD_DEBUG:= $(shell ${_LD_DEBUG_SH})
-LDFLAGS+= ${_LD_DEBUG}
-
-_GGDB_SH= case "${DEBUG}" in "") echo "";; *) echo "-ggdb";; esac
-_GGDB:= $(shell ${_GGDB_SH})
-CFLAGS+= ${_GGDB}