2009-03-16 16:35:29 +00:00
|
|
|
# -*- mode: gnumakefile; tab-width: 8; indent-tabs-mode: t; -*-
|
|
|
|
# vim: tabstop=8
|
2003-02-17 16:51:16 +00:00
|
|
|
# $Id$
|
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** BEGIN GPL LICENSE BLOCK *****
|
2003-02-17 16:51:16 +00:00
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
2008-04-16 22:40:48 +00:00
|
|
|
# of the License, or (at your option) any later version.
|
2003-02-17 16:51:16 +00:00
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
#
|
|
|
|
# The Original Code is Copyright (C) 2002 by Wouter van Heyst
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# The Original Code is: revision 1.1
|
|
|
|
#
|
2009-03-19 01:50:45 +00:00
|
|
|
# Contributor(s): Hans Lambermont, GSR
|
2003-02-17 16:51:16 +00:00
|
|
|
#
|
2008-04-16 22:40:48 +00:00
|
|
|
# ***** END GPL LICENSE BLOCK *****
|
2003-02-17 16:51:16 +00:00
|
|
|
#
|
|
|
|
# Toplevel Makefile for blender. Bounces make to subdirectories.
|
|
|
|
# Available targets: 'all' 'debug' 'release'
|
2003-01-18 21:12:55 +00:00
|
|
|
|
2003-05-24 17:22:18 +00:00
|
|
|
# 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
|
2009-03-16 16:35:29 +00:00
|
|
|
# user-def.mk to the revision control server).
|
2003-05-24 17:22:18 +00:00
|
|
|
sinclude user-def.mk
|
|
|
|
|
2009-03-16 16:35:29 +00:00
|
|
|
# To build without openAL, set it as an environment variable,
|
|
|
|
# or put it uncommented in user-def.mk:
|
2003-07-27 17:09:19 +00:00
|
|
|
# export NAN_NO_OPENAL=true
|
2003-05-29 16:29:57 +00:00
|
|
|
|
2003-01-18 21:12:55 +00:00
|
|
|
export NANBLENDERHOME=$(shell pwd)
|
2010-07-13 00:57:19 +00:00
|
|
|
MAKEFLAGS=-I$(NANBLENDERHOME)/build_files/make --no-print-directory
|
2003-01-18 21:12:55 +00:00
|
|
|
|
2005-04-09 22:40:34 +00:00
|
|
|
SOURCEDIR =
|
2003-05-24 20:04:37 +00:00
|
|
|
ifeq ($(FREE_WINDOWS),true)
|
2009-03-16 16:35:29 +00:00
|
|
|
DIRS ?= dlltool extern intern source po
|
|
|
|
else
|
|
|
|
DIRS ?= extern intern source po
|
2003-05-24 20:04:37 +00:00
|
|
|
endif
|
|
|
|
|
2010-07-13 00:57:19 +00:00
|
|
|
include build_files/make/nan_subdirs.mk
|
2003-02-11 12:35:18 +00:00
|
|
|
|
|
|
|
.PHONY: release
|
|
|
|
release:
|
|
|
|
@echo "====> $(MAKE) $@ in $(SOURCEDIR)/$@" ;\
|
|
|
|
$(MAKE) -C $@ $@ || exit 1;
|
2003-02-17 16:51:16 +00:00
|
|
|
|
2003-12-26 20:12:42 +00:00
|
|
|
|