summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-06-27 18:53:24 +0000
committerrubidium <rubidium@openttd.org>2007-06-27 18:53:24 +0000
commit4c851d6456b7dcdc72a0e91a627936d711bff883 (patch)
tree7b4ea890a3f1b11a36a0fef073ad69f1ee26d9ad /Makefile.in
parentcc240535f069696afea19a29a9cdded94d6ae489 (diff)
downloadopenttd-4c851d6456b7dcdc72a0e91a627936d711bff883.tar.xz
(svn r10360) -Fix (r10359): make should always do "make all" by default
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in34
1 files changed, 17 insertions, 17 deletions
diff --git a/Makefile.in b/Makefile.in
index 80e4d5c32..7a2710e2d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -35,6 +35,23 @@ 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 )
+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
+endif
+ @for dir in $(DIRS); do \
+ $(MAKE) -C $$dir all; \
+ done
+ifdef LIPO
+# Lipo is an OSX thing. If it is defined, it means we are building for universal,
+# and so we have have to combine the binaries into one big binary
+
+# Remove the last binary made by the last compiled target
+ $(Q)rm -f $(BIN_DIR)/$(TTD)
+# Make all the binaries into one
+ $(Q)$(LIPO) -create -output $(BIN_DIR)/$(TTD) $(TTDS)
+endif
+
help:
@echo "Available make commands:"
@echo ""
@@ -57,23 +74,6 @@ help:
@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
-endif
- @for dir in $(DIRS); do \
- $(MAKE) -C $$dir all; \
- done
-ifdef LIPO
-# Lipo is an OSX thing. If it is defined, it means we are building for universal,
-# and so we have have to combine the binaries into one big binary
-
-# Remove the last binary made by the last compiled target
- $(Q)rm -f $(BIN_DIR)/$(TTD)
-# Make all the binaries into one
- $(Q)$(LIPO) -create -output $(BIN_DIR)/$(TTD) $(TTDS)
-endif
-
config.cache: $(CONFIG_CACHE_SOURCE_LIST) $(CONFIGURE_FILES)
ifeq ($(shell if test -f config.cache; then echo 1; fi), 1)
@echo "----------------"