From 31532c06ca5463a55f0f9edfa774ae299c981144 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 16 Sep 2006 16:08:33 +0000 Subject: [PATCH] pass debug -D options to .rcp files to to include debug menus --- xwords4/palm/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xwords4/palm/Makefile b/xwords4/palm/Makefile index 262dbf6b5..80434944f 100644 --- a/xwords4/palm/Makefile +++ b/xwords4/palm/Makefile @@ -18,8 +18,9 @@ PLATFORM=obj_palm ifeq ($(MEMDEBUG),TRUE) +DEBUG = -DMEM_DEBUG -DDEBUG PLATFORM := $(PLATFORM)_memdebug -CFLAGS += -DMEM_DEBUG -DDEBUG -g -O0 +CFLAGS += $(DEBUG) -g -O0 CSFLAGS += -O0 -g NAME = "CrossDbg" ICONTEXT = "CrossDbg" @@ -274,7 +275,7 @@ $(PLATFORM)/res.prc: xwords4.rcp $(HEADERS) StrL03e8.bin $(FNAVS) $(PNOLET) rm -f $< *.bin xwords4.rcp: l10n/xwords4_$(LANG).rcp.pre xwords4defines.h $(BITMAP_RSRCS) - gcc -x c -E -P $(INCLUDES) $(MYDEFS_68K) \ + gcc -x c -E -P $(INCLUDES) $(MYDEFS_68K) $(DEBUG) \ -DICONTEXT=\"$(ICONTEXT)\" $< > $@ LocalizedStrIncludes.h StrL03e8.bin: ./l10n/StrRes_$(LANG).pre ./l10n/mkstrsres.c