#
# $Id: Makefile,v 1.2 2009/08/28 13:43:54 thomasw Exp $
#
# General examples build makefile.

PROJECT ?= seamax
EXPDIR ?=  /usr/local/share/${PROJECT}
MKDIR ?=   /bin/mkdir
RM ?=      /bin/rm


## ============================================================================
SUBDIRS = sample-async sample-ninebit

## ============================================================================
all: subdirs

subdirs:
	@echo " --Building example applications--"
	@echo
	@for n in $(SUBDIRS); do $(MAKE) -s -C $$n all || exit 1; done
	@echo " --Done building example applications--"
	@echo

clean:
	@echo " --Removing example build code--"
	@echo
	@for n in $(SUBDIRS); do $(MAKE) -s -C $$n clean || exit 1; done
	@echo " --Example build code removed--"
	@echo

objs:
	@echo " --Building example objs--"
	@echo
	@for n in $(SUBDIRS); do $(MAKE) -s -C $$n objs || exit 1; done
	@echo " --Done building example objs--"
	@echo


install:
	@echo " --Example applications not installed to filesystem--"
	@echo

uninstall:
	@echo " --Example applications not installed to filesystem--"
	@echo
