summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-17 17:55:54 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-09-17 17:55:54 +0000
commitc68acc11342c321f5b56db45e771bdf1d8e70668 (patch)
treecdebccf28804b1cdcc22e4a30f744e578e46fb8b /Makefile
parentc20000d4c5cb126958d9c8bcef319a536f013297 (diff)
Don't print version information twice for gmake <config>-rebuild
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2365 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 71f30bde..6eb5df38 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.120 2001-09-14 14:38:12 allen Exp $
+# @version $Id: Makefile,v 1.121 2001-09-17 17:55:54 allen Exp $
# @@*/
##################################################################################
@@ -226,7 +226,11 @@ endif
# Target to build a configuration
.PHONY: $(CONFIGURATIONS)
-$(CONFIGURATIONS): int_version
+$(CONFIGURATIONS):
+ if test "x${MAKELEVEL}" = "x0" ; then \
+ echo $(DIVIDER);\
+ echo "Cactus - version: $(CCTK_VERSION)"; \
+ fi; \
cd $(CONFIGS_DIR)/$@
$(MAKE) -f $(CCTK_HOME)/lib/make/make.configuration TOP=$(CONFIGS_DIR)/$@ CCTK_HOME=$(CCTK_HOME) $(TPARFLAGS)