X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2FMakefile;h=79ca767f7e641e79e1482abce3568bb3dd78c31b;hb=6ad846ee78d9d8ba93dcecdefbf89f2b981333ef;hp=36bd3623e7fecbbd7b86d0dcab321617857eb088;hpb=dace236c5fffa29d59e4d12fa865889bbecbdd24;p=mesa.git diff --git a/src/gallium/Makefile b/src/gallium/Makefile index 36bd3623e7f..79ca767f7e6 100644 --- a/src/gallium/Makefile +++ b/src/gallium/Makefile @@ -1,26 +1,12 @@ +# src/gallium/Makefile TOP = ../.. include $(TOP)/configs/current +SUBDIRS = $(GALLIUM_DIRS) -SUBDIRS = auxiliary drivers -# 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: