diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-02 21:11:45 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-02 21:11:45 +0200 |
commit | 841d954211e4ec04f2b7b06177451d86424fe5b0 (patch) | |
tree | fde7c694de537d9920603a12d4315d0737d7fee3 /GNUmakefile | |
parent | 75a85dcba3c9a05079959abbf2cf70bfad4e82d5 (diff) |
GNUmakefile: Add -ggdb3 to the ADDITIONAL_OBJCFLAGS if $(DEBUG) is YES.
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 6e1f2d0..c069169 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -25,7 +25,11 @@ TOOL_NAME = etshell toilet FRAMEWORK_NAME = ToiletKit BUNDLE_NAME = Test +ifeq ($(DEBUG),YES) ADDITIONAL_OBJCFLAGS = -Wall +else +ADDITIONAL_OBJCFLAGS = -Wall -ggdb3 +endif ToiletKit_OBJC_FILES = MLKBackquoteReader.m MLKBinding.m MLKCharacter.m \ MLKCommaReader.m MLKCons.m MLKDoubleFloat.m \ |