Merge branch 'bl/light'
[plumiferos.git] / Makefile
blob566e1fc230d3bf82dd9c432115df3616e7c6515e
1 # $Id: Makefile 4208 2005-04-09 22:40:34Z hos $
3 # ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License
7 # as published by the Free Software Foundation; either version 2
8 # of the License, or (at your option) any later version. The Blender
9 # Foundation also sells licenses for use in proprietary software under
10 # the Blender License. See http://www.blender.org/BL/ for information
11 # about this.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software Foundation,
20 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 # The Original Code is Copyright (C) 2002 by Wouter van Heyst
23 # All rights reserved.
25 # The Original Code is: revision 1.1
27 # Contributor(s): Hans Lambermont
29 # ***** END GPL/BL DUAL LICENSE BLOCK *****
31 # Toplevel Makefile for blender. Bounces make to subdirectories.
32 # Available targets: 'all' 'debug' 'release'
34 # If the user wants to override some of the build
35 # vars they can put it in the file user-def.mk which
36 # will get included if it exists (please do not commit
37 # user-def.mk to cvs).
39 sinclude user-def.mk
41 # To build without openAL, uncomment the following line, or set it as
42 # an environment variable, or put it uncommented in user-def.mk:
43 # export NAN_NO_OPENAL=true
45 export NANBLENDERHOME=$(shell pwd)
46 MAKEFLAGS=-I$(NANBLENDERHOME)/source --no-print-directory
48 SOURCEDIR =
49 ifeq ($(FREE_WINDOWS),true)
50 DIRS ?= dlltool extern intern source po
51 endif
53 DIRS ?= extern intern source po
54 include source/nan_subdirs.mk
56 .PHONY: release
57 release:
58 @echo "====> $(MAKE) $@ in $(SOURCEDIR)/$@" ;\
59 $(MAKE) -C $@ $@ || exit 1;