51 $(Q)rm -f $(BIN_DIR)/$(TTD) |
51 $(Q)rm -f $(BIN_DIR)/$(TTD) |
52 # Make all the binaries into one |
52 # Make all the binaries into one |
53 $(Q)$(LIPO) -create -output $(BIN_DIR)/$(TTD) $(TTDS) |
53 $(Q)$(LIPO) -create -output $(BIN_DIR)/$(TTD) $(TTDS) |
54 endif |
54 endif |
55 |
55 |
|
56 help: |
|
57 @echo "Available make commands:" |
|
58 @echo "" |
|
59 @echo "Compilation:" |
|
60 @echo " all compile the executable and the lang files" |
|
61 @echo " lang compile the lang files only" |
|
62 @echo "Clean up:" |
|
63 @echo " clean remove the files generated during compilation" |
|
64 @echo " mrproper remove the files generated during configuration and compilation" |
|
65 @echo "Run after compilation:" |
|
66 @echo " run execute openttd after the compilation" |
|
67 @echo " run-gdb execute openttd in debug mode after the compilation" |
|
68 @echo " run-prof execute openttd in profiling mode after the compilation" |
|
69 @echo "Installation:" |
|
70 @echo " install install the compiled files and the data-files after the compilation" |
|
71 @echo " bundle create the base for an installation bundle" |
|
72 @echo " bundle_zip create the zip installation bundle" |
|
73 @echo " bundle_gzip create the gzip installation bundle" |
|
74 @echo " bundle_bzip2 create the bzip2 installation bundle" |
|
75 @echo " bundle_lha create the lha installation bundle" |
|
76 @echo " bundle_dmg create the dmg installation bundle" |
|
77 |
56 config.cache: $(CONFIG_CACHE_SOURCE_LIST) $(CONFIGURE_FILES) |
78 config.cache: $(CONFIG_CACHE_SOURCE_LIST) $(CONFIGURE_FILES) |
57 ifeq ($(shell if test -f config.cache; then echo 1; fi), 1) |
79 ifeq ($(shell if test -f config.cache; then echo 1; fi), 1) |
58 @echo "----------------" |
80 @echo "----------------" |
59 @echo "The system detected that source.list or any configure file is altered." |
81 @echo "The system detected that source.list or any configure file is altered." |
60 @echo " Going to reconfigure with last known settings..." |
82 @echo " Going to reconfigure with last known settings..." |