1 # -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
5 # ***** BEGIN GPL LICENSE BLOCK *****
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software Foundation,
19 # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 # The Original Code is Copyright (C) 2002 by Wouter van Heyst
22 # All rights reserved.
24 # The Original Code is: revision 1.1
26 # Contributor(s): Hans Lambermont, GSR
28 # ***** END GPL LICENSE BLOCK *****
30 # Toplevel Makefile for blender. Bounces make to subdirectories.
31 # Available targets: 'all' 'debug' 'release'
33 # If the user wants to override some of the build
34 # vars they can put it in the file user-def.mk which
35 # will get included if it exists (please do not commit
36 # user-def.mk to the revision control server).
39 # To build without openAL, set it as an environment variable,
40 # or put it uncommented in user-def.mk:
41 # export NAN_NO_OPENAL=true
43 export NANBLENDERHOME=$(shell pwd)
44 MAKEFLAGS=-I$(NANBLENDERHOME)/build_files/make --no-print-directory
47 ifeq ($(FREE_WINDOWS),true)
48 DIRS ?= dlltool extern intern source po
50 DIRS ?= extern intern source po
53 include build_files/make/nan_subdirs.mk
57 @echo "====> $(MAKE) $@ in $(SOURCEDIR)/$@" ;\
58 $(MAKE) -C $@ $@ || exit 1;