From 1549e1709a6c83d7d021d4390fa8188e57d627e1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 29 Mar 2004 06:06:55 +0000 Subject: [PATCH] jam rules for profiling --- src/Jamrules | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Jamrules b/src/Jamrules index 684f8bbd2..c8ecd88cf 100644 --- a/src/Jamrules +++ b/src/Jamrules @@ -66,10 +66,16 @@ if ! $(DEBUG) { DEBUG = 1 ; } -if $(DEBUG) = 0 { - TARGET_PREFIX = Release ; +if $(PROFILE) = 1 { + TARGET_PREFIX = Profile ; } else { - TARGET_PREFIX = Debug ; + if $(DEBUG) = 0 { + TARGET_PREFIX = Release ; + } + else { + TARGET_PREFIX = Debug ; + } } +