# Sendanor -- Generic top directory Makefile # $Id: Makefile 3454 2007-10-18 16:29:54Z jheusala $ all: build SRCDIR := $(shell /bin/sh -c 'set -e; dir=`pwd`; while test ! -f "$$dir/Makefile.global"; do dir="`dirname "$$dir"`"; test "x$$dir" != x/; done; echo $$dir') -include $(SRCDIR)/Makefile.global -include Makefile.local build: subdirs-build clean: subdirs-clean install: subdirs-install subdirs-build: $(SUBDIRS:=-build) subdirs-install: $(SUBDIRS:=-install) subdirs-clean: $(SUBDIRS:=-clean) %-build: % $(MAKE) -C $< build %-clean: % $(MAKE) -C $< clean %-install: % $(MAKE) -C $< install # EOF