1TOP = ../../..
2include $(TOP)/configs/current
3
4
5SUBDIRS = $(GALLIUM_STATE_TRACKERS_DIRS)
6
7
8default: subdirs
9
10
11subdirs:
12	@for dir in $(SUBDIRS) ; do \
13		if [ -d $$dir ] ; then \
14			(cd $$dir && $(MAKE)) || exit 1 ; \
15		fi \
16	done
17
18
19clean:
20	rm -f `find . -regex '.*\.l?[oa]'`
21	rm -f `find . -name depend`
22
23
24install:
25	@for dir in $(SUBDIRS) ; do \
26		if [ -d $$dir ] ; then \
27			(cd $$dir && $(MAKE) $@) || exit 1 ; \
28		fi \
29	done
30