From 5b4974f25948f8ff59b9869fbbf21153c106c2ce Mon Sep 17 00:00:00 2001 From: theraven Date: Thu, 21 Jan 2010 17:33:23 +0000 Subject: [PATCH] Made debug warning just a warning. --- GNUmakefile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 2888929..10ba52d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -67,16 +67,6 @@ libobjc_CFLAGS += -Werror -std=c99 -g -fexceptions #-fno-inline libobjc_OBJCFLAGS += -g -std=c99 libobjc_LDFLAGS += -g -ifeq ($(findstring no, $(debug)),) -before-all:: - @echo - @echo - @echo WARNING: You are building in debug mode. This will generate a LOT of console \ - output for every Objective-C program you run. If this is not what you \ - want, please compile with $(MAKE) debug=no - @echo - @echo -endif ifneq ($(findstring gcc, $(CC)),) libobjc_CFLAGS += -fgnu89-inline @@ -87,3 +77,14 @@ libobjc_C_FILES += libobjc_entry.c endif include $(GNUSTEP_MAKEFILES)/library.make + +ifeq ($(findstring no, $(debug)),) +before-all:: + @echo + @echo + @echo WARNING: You are building in debug mode. This will generate a LOT of console \ + output for every Objective-C program you run. If this is not what you \ + want, please compile with $(MAKE) debug=no + @echo + @echo +endif