summaryrefslogtreecommitdiff
path: root/cesar/common
diff options
context:
space:
mode:
authorschodet2009-10-07 07:33:52 +0000
committerschodet2009-10-07 07:33:52 +0000
commitf647aaed376f0f62c26b90b611a9e2d9533b462b (patch)
tree50c22d6db208dcc0370c83974cded1d016d02b58 /cesar/common
parent32334c2dcdb9ebedffe9e1c8151c2f3725470eec (diff)
cesar/common/make: add help target for quick online help
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5977 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/common')
-rw-r--r--cesar/common/make/help.mk20
-rw-r--r--cesar/common/make/top.mk1
2 files changed, 21 insertions, 0 deletions
diff --git a/cesar/common/make/help.mk b/cesar/common/make/help.mk
new file mode 100644
index 0000000000..2934641396
--- /dev/null
+++ b/cesar/common/make/help.mk
@@ -0,0 +1,20 @@
+
+help:
+ @echo all: build.all
+ @echo ' 'build.all: host.all target.all
+ @echo ' 'host.all: build all host programs
+ @echo ' 'target.all: build all target programs
+ @echo clean: config.clean build.clean $(EXTRA_CLEAN)
+ @echo ' 'config.clean: clean configuration related files
+ @echo ' 'build.clean: clean build generated files
+ifneq ($(ECOS),)
+ @echo ecos:
+ @echo ' 'ecos.all: build ecos
+ @echo ' 'ecos.headers: generate ecos headers
+ @echo ' 'ecos.tree: generate ecos build tree
+ @echo ' 'ecos.config: generate ecos.ecc from ecos.ecc.sh
+ @echo ' 'ecos.compact-config: compact ecos.ecc to generate ecos.ecc.sh
+ @echo ' 'ecos.clean: clean ecos files
+endif # ifneq ($(ECOS),)
+ @echo print: print current setup
+ @echo help: print this help message
diff --git a/cesar/common/make/top.mk b/cesar/common/make/top.mk
index e09b59bc50..f357fc4834 100644
--- a/cesar/common/make/top.mk
+++ b/cesar/common/make/top.mk
@@ -21,3 +21,4 @@ include $(MAKE_DIR)/ecos.mk
include $(MAKE_DIR)/build.mk
include $(MAKE_DIR)/misc.mk
include $(MAKE_DIR)/print.mk
+include $(MAKE_DIR)/help.mk