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