Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2009-03-23 22:52:49 +0300
committerKent Mein <mein@cs.umn.edu>2009-03-23 22:52:49 +0300
commit80319e5b518c689a4ac37da84aa533f36b1a261a (patch)
tree42ae5f36c95a8caecc5f12af791b29c585eaec71 /source/nan_compile.mk
parent617bb7ac4598d281db6335520ae1bf423d87a1c6 (diff)
Added BF_PROFILE (same name as in scons files) option.
Set it to true to build with -pg Also I added CCFLAGS to final link of targets. Not sure why it wasn't there before. Kent
Diffstat (limited to 'source/nan_compile.mk')
-rw-r--r--source/nan_compile.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/nan_compile.mk b/source/nan_compile.mk
index 19d833b5b0d..a6dcfc21b5f 100644
--- a/source/nan_compile.mk
+++ b/source/nan_compile.mk
@@ -47,6 +47,11 @@ else
CPPFLAGS += -DNO_KETSJI
endif
+ifeq ($(BF_PROFILE), true)
+ CFLAGS += -pg
+ CCFLAGS += -pg
+endif
+
ifeq ($(WITH_BF_OPENMP), true)
CFLAGS += -fopenmp
CCFLAGS += -fopenmp