Update Makefile to automatically checkout NTK submodule and add README.build file.

pull/3/head
Jonathan Moore Liles 2012-08-06 20:03:30 -07:00
parent ee8764495f
commit 14d189c939
2 changed files with 12 additions and 5 deletions

View File

@ -19,7 +19,11 @@
SUBDIRS=lib nonlib FL timeline mixer session-manager sequencer
all: lib/.built .config
all: lib/ntk/configure lib/.built .config
@ for dir in $(SUBDIRS); do echo Building $$dir; $(MAKE) -s -C $$dir; done
lib/ntk/configure:
@ git submodule update --init
lib/.built:
@ make -C lib
@ -30,12 +34,8 @@ lib/.built:
config: configure
./configure
all:
@ for dir in $(SUBDIRS); do echo Building $$dir; $(MAKE) -s -C $$dir; done
clean:
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir clean; done
install:
@ for dir in $(SUBDIRS); do $(MAKE) -s -C $$dir install; done

7
README.build Normal file
View File

@ -0,0 +1,7 @@
This repository contains all of the non-* software.
To build it, just type 'make'. Stuff will happen. Eventually, you'll
have to answer some build questions. Just answer them. Don't make
things harder on yourself by trying to build everything
individually. Just type 'make'. I'm serious. It's that simple.