diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2009-02-20 00:50:26 +0100 |
---|---|---|
committer | Jakob Bornecrantz <jakob@vmware.com> | 2009-02-20 11:25:55 +0000 |
commit | fffadc219f3900a5b0405a9fddbc289873ea0842 (patch) | |
tree | 29f5833c3d96f97daf31fcaabe29731be86e9ba9 /src/gallium/Makefile | |
parent | 3eebd24cb6202171ee00506bb3fc71ac7dcc4cb8 (diff) |
gallium: Improve recursive makefiles
Diffstat (limited to 'src/gallium/Makefile')
-rw-r--r-- | src/gallium/Makefile | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/gallium/Makefile b/src/gallium/Makefile index 875314f6c3..79ca767f7e 100644 --- a/src/gallium/Makefile +++ b/src/gallium/Makefile @@ -1,26 +1,12 @@ +# src/gallium/Makefile TOP = ../.. include $(TOP)/configs/current - SUBDIRS = $(GALLIUM_DIRS) -# Note winsys/ needs to be built after src/mesa - - -default: subdirs - -subdirs: +default install clean: @for dir in $(SUBDIRS) ; do \ if [ -d $$dir ] ; then \ - (cd $$dir && $(MAKE)) || exit 1 ; \ + (cd $$dir && $(MAKE) $@) || exit 1; \ fi \ done - - -clean: - rm -f `find . -name \*.[oa]` - rm -f `find . -name depend` - - -# Dummy install target -install: |