X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2FMakefile;h=79ca767f7e641e79e1482abce3568bb3dd78c31b;hb=fbe9d4261f94b8a22ae04dccb8201a6762b66d40;hp=36bd3623e7fecbbd7b86d0dcab321617857eb088;hpb=2cb3d2b7a0d8f505131e98053d3e19982012fccd;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: