summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-27 18:50:18 +0000
committerrubidium <rubidium@openttd.org>2007-06-27 18:50:18 +0000
commitcc240535f069696afea19a29a9cdded94d6ae489 (patch)
tree4ede6306209f0ec2c6e51d3668d4980648565671
parent67f46b40ab1d3869e88bdc5a6508310638dfa23d (diff)
downloadopenttd-cc240535f069696afea19a29a9cdded94d6ae489.tar.xz
(svn r10359) -Codechange [FS#935]: add some explanations what the different make "commands" do.
-rw-r--r--Makefile.in22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 7ee4ee264..80e4d5c32 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -35,6 +35,28 @@ DISTCC = !!DISTCC!!
RES := $(shell if ! [ -f $(CONFIG_CACHE_SOURCE_LIST) ] || [ -n "`cmp $(CONFIG_CACHE_SOURCE_LIST) $(SOURCE_LIST)`" ]; then cp $(SOURCE_LIST) $(CONFIG_CACHE_SOURCE_LIST); fi )
+help:
+ @echo "Available make commands:"
+ @echo ""
+ @echo "Compilation:"
+ @echo " all compile the executable and the lang files"
+ @echo " lang compile the lang files only"
+ @echo "Clean up:"
+ @echo " clean remove the files generated during compilation"
+ @echo " mrproper remove the files generated during configuration and compilation"
+ @echo "Run after compilation:"
+ @echo " run execute openttd after the compilation"
+ @echo " run-gdb execute openttd in debug mode after the compilation"
+ @echo " run-prof execute openttd in profiling mode after the compilation"
+ @echo "Installation:"
+ @echo " install install the compiled files and the data-files after the compilation"
+ @echo " bundle create the base for an installation bundle"
+ @echo " bundle_zip create the zip installation bundle"
+ @echo " bundle_gzip create the gzip installation bundle"
+ @echo " bundle_bzip2 create the bzip2 installation bundle"
+ @echo " bundle_lha create the lha installation bundle"
+ @echo " bundle_dmg create the dmg installation bundle"
+
all: config.cache
ifdef DISTCC
@if [ -z "`echo '$(MFLAGS)' | grep '\-j'`" ]; then echo; echo "WARNING: you enabled distcc support, but you don't seem to be using the -jN paramter"; echo; fi