#
# Simple Makefile that redirects all commands to the subdirectories.
#

#
# You have to install the QLed plugin manually to successfully compile all samples.
# go to qt_plugins/qled and do a
# sudo make install 
# in this directory
#

SUBDIRS:=`find qt_plugins -mindepth 1 -maxdepth 1 -type d -not -name .svn -exec sh -c '[ -e {}/Makefile ]' \; -print` `find . -mindepth 1 -maxdepth 1 -type d -not -name .svn -exec sh -c '[ -e {}/Makefile ]' \; -print`


# disable all built-in rules
.SUFFIXES:


# redirect all targets to the subdirs
%: 
	+for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done

# this very file needs to be excluded from the redirect
Makefile:
	touch $@
