diff options
author | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-05-26 21:27:50 +0200 |
---|---|---|
committer | Nicolai Hähnle <nhaehnle@gmail.com> | 2009-05-26 21:27:50 +0200 |
commit | 81bc1a3ba1190ac032cde16be867f0278a6f1e09 (patch) | |
tree | 4d18bdd853bd43eae495a9c35702339b26ae2fcf | |
parent | cea7a5da5e542c136e0a7429513bebbf21859a38 (diff) |
Update Makefile
-rw-r--r-- | detail/main.makefile | 13 |
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 |