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