diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-18 06:48:19 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-18 06:48:19 +0000 |
commit | f5722759b8fd2ae65042fe6f87908e3569dbfdf0 (patch) | |
tree | 8ab1e39df1b3e44f0ff24367609456c3beffe619 /Makefile | |
parent | a68b0e41908d057f81f31e25346c8b96436b7e4b (diff) | |
download | compiler-rt-f5722759b8fd2ae65042fe6f87908e3569dbfdf0.tar.gz |
Add basic make {help,help-hidden} targets.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -24,6 +24,27 @@ endif ### # Top level targets +# FIXME: Document the available subtargets. +help: + @echo "usage: make [{VARIABLE=VALUE}*] target" + @echo + @echo "User variables:" + @echo " VERBOSE=1: Use to show all commands [default=0]" + @echo + @echo "Available targets:" + @echo " clean: clean all configurations" + @echo " test: run unit tests" + @echo " all: build all configurations" + @echo + +help-hidden: help + @echo "Debugging variables:" + @echo " DEBUGMAKE=1: enable some Makefile logging [default=0]" + @echo + @echo "Debugging targets:" + @echo " make-print-FOO: print information on the variable 'FOO'" + @echo + # Provide default clean target which is extended by other templates. .PHONY: clean clean:: |