From 821166fbfd4bd81716fc0b5f87259bf6caf7b7b1 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 24 Mar 2008 11:43:03 +0000 Subject: Fix debug support to work without gmake and bundle -ggdb in properly. --- src/rc/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/rc/Makefile') diff --git a/src/rc/Makefile b/src/rc/Makefile index 76e635dc..f60fc313 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -32,13 +32,11 @@ 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 include ${MK}/prog.mk include ${MK}/cc.mk +include ${MK}/debug.mk CFLAGS+= -I../includes -I../librc -I../libeinfo CFLAGS+= -DLIB=\"${LIBNAME}\" -- cgit v1.2.3