2008-02-14 06:47:12 +01:00
|
|
|
|
2008-07-10 05:43:22 +02:00
|
|
|
###############################################################################
|
|
|
|
# Copyright (C) 2008 Jonathan Moore Liles #
|
|
|
|
# #
|
|
|
|
# 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 of the License, or (at your #
|
|
|
|
# option) any later version. #
|
|
|
|
# #
|
|
|
|
# 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; see the file COPYING. If not,write to the Free Software #
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #
|
|
|
|
###############################################################################
|
|
|
|
|
2012-11-01 01:22:30 +01:00
|
|
|
include scripts/colors
|
|
|
|
|
2012-10-30 19:52:36 +01:00
|
|
|
SUBDIRS=nonlib FL timeline mixer session-manager sequencer
|
2008-07-10 05:43:22 +02:00
|
|
|
|
2012-11-01 01:22:30 +01:00
|
|
|
.config: configure
|
|
|
|
@ echo $(BOLD)$(YELLOW)Hey! You need to run 'configure' first.
|
|
|
|
@ echo If that fails because of NTK stuff, then you need to run 'make ntk' first.$(SGR0)
|
|
|
|
@ exit 1
|
|
|
|
|
2012-10-30 19:52:36 +01:00
|
|
|
all: .config
|
|
|
|
@ echo '!!! If you have any trouble here try reading README.build !!!'
|
2012-08-07 05:03:30 +02:00
|
|
|
@ for dir in $(SUBDIRS); do echo Building $$dir; $(MAKE) -s -C $$dir; done
|
|
|
|
|
2012-10-30 19:52:36 +01:00
|
|
|
ntk: lib/.built lib/ntk/configure
|
|
|
|
|
2012-08-07 05:03:30 +02:00
|
|
|
lib/ntk/configure:
|
|
|
|
@ git submodule update --init
|
2012-05-23 02:57:29 +02:00
|
|
|
|
|
|
|
lib/.built:
|
|
|
|
@ make -C lib
|
2012-04-17 06:26:49 +02:00
|
|
|
|
2010-02-01 07:25:16 +01:00
|
|
|
clean:
|
|
|
|
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir clean; done
|
2008-05-05 00:20:38 +02:00
|
|
|
|
2010-02-01 07:25:16 +01:00
|
|
|
install:
|
|
|
|
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir install; done
|