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:
authorChris Want <cwant@ualberta.ca>2003-05-24 21:22:18 +0400
committerChris Want <cwant@ualberta.ca>2003-05-24 21:22:18 +0400
commit94c4250d9f7ca57d9af7a7265fcdec0b4e94e5b3 (patch)
treed0f7a6f786c05ae94b1a886e1353dc16e6d40476 /Makefile
parent9db98a74a33d92fd82bea924f14fe8b70fe04f8f (diff)
Use of a (not included in cvs) file called user-def.mk to override the
build variables ... basically a way to override the build defaults with less risk of a cvs conflict.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cae7a9ce859..71f49a7aad9 100644
--- a/Makefile
+++ b/Makefile
@@ -31,11 +31,17 @@
# Toplevel Makefile for blender. Bounces make to subdirectories.
# Available targets: 'all' 'debug' 'release'
+# If the user wants to override some of the build
+# vars they can put it in the file user-def.mk which
+# will get included if it exists (please do not commit
+# user-def.mk to cvs).
+sinclude user-def.mk
+
export NANBLENDERHOME=$(shell pwd)
MAKEFLAGS=-I$(NANBLENDERHOME)/source --no-print-directory
SOURCEDIR = blender
-DIRS = extern intern source po
+DIRS ?= extern intern source po
include source/nan_subdirs.mk
.PHONY: release