From 14d189c939ad59b9e11da84fb2c4d3e98b6d1919 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Mon, 6 Aug 2012 20:03:30 -0700 Subject: [PATCH] Update Makefile to automatically checkout NTK submodule and add README.build file. --- Makefile | 10 +++++----- README.build | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 README.build diff --git a/Makefile b/Makefile index 6267750..2ac5338 100644 --- a/Makefile +++ b/Makefile @@ -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 - diff --git a/README.build b/README.build new file mode 100644 index 0000000..96a246f --- /dev/null +++ b/README.build @@ -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. \ No newline at end of file