aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r--src/rc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index e73cd713..2779a447 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -33,6 +33,7 @@ CLEANFILES+= ${ALL_LINKS}
LDFLAGS+= -L../librc -L../libeinfo
LDADD+= -lutil -lrc -leinfo
#CFLAGS+= -ggdb
+CPPFLAGS+= $(shell test "x$(DEBUG)" = x && echo -DRC_DEBUG=0 || echo -DRC_DEBUG=1)
LDFLAGS+= $(shell test -d ../../.git && echo -Wl,--rpath=../librc -Wl,--rpath=../libeinfo)
MK= ../../mk