summaryrefslogtreecommitdiff
path: root/detail/main.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'detail/main.makefile')
-rw-r--r--detail/main.makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/detail/main.makefile b/detail/main.makefile
index e65a135..14d0bf3 100644
--- a/detail/main.makefile
+++ b/detail/main.makefile
@@ -53,6 +53,7 @@ DIRTARGETS:=$(patsubst %,%.dir,$(DIRS))
default:
@echo "Implemented targets:"
@echo " autoconf Run autogen / configure in all dirs"
+ @echo " clean Run clean in all dirs"
@echo " build Build all (including nonofficial)"
@echo " deadlights Push custom installation to deadlights"
@echo " pull Pull all official git repositories"
@@ -65,7 +66,17 @@ autoconf: $(patsubst %,repos/%.autoconf,$(AUTOCONF_DIRS))
@echo "======================================="
@echo "Autogen in: $*"
@echo "======================================="
- @cd $* && ./autogen.sh --prefix=$(DXO_PREFIX) --enable-debug
+ @cd $* && ./autogen.sh --prefix=$(DXO_PREFIX)
+
+clean: $(patsubst %,repos/%.clean,$(AUTOCONF_DIRS))
+
+%.clean:
+ @echo
+ @echo "======================================="
+ @echo "Clean in: $*"
+ @echo "======================================="
+ @make -C $* clean
+ @echo "======================================="
build: $(DIRTARGETS) build_piglit