summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-09-17 09:46:58 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-09-17 09:46:58 +0000
commitf507c325c34afcc78dc63d68f83480689f4d834a (patch)
tree68a15eedcab8694070162a599b28ac1b1bae972c /Makefile
parent34563977d44013c1c7d0fb68657e7adf12c1fb37 (diff)
New argument for configuring
gmake MyConfig-config THORNS="<list of thorns>" e.g. THORNS="CactusPUGH/PUGH CactusBase/Time" Can be used in conjunction with THORNLIST git-svn-id: http://svn.cactuscode.org/flesh/trunk@1823 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ad595d3..ef86f0d9 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.97 2000-07-28 12:54:29 goodale Exp $
+# @version $Id: Makefile,v 1.98 2000-09-17 09:46:58 allen Exp $
# @@*/
##################################################################################
@@ -585,6 +585,10 @@ $(addsuffix -config,$(CONFIGURATIONS)):
then \
cp $(THORNLIST_DIR)/$(THORNLIST) $(CONFIGS_DIR)/$(@:%-config=%)/ThornList;\
fi ; \
+ if test -n "$(THORNS)" ; \
+ then \
+ echo $(THORNS) >> $(CONFIGS_DIR)/$@/ThornList ; \
+ fi ; \
echo $(DIVIDER) ; \
if test "x$(PROMPT)" = "xno" ; then \
$(MAKE) $(@:%-config=%) WARN=$(WARN); \
@@ -620,6 +624,10 @@ endif
then \
cp $(THORNLIST_DIR)/$(THORNLIST) $(CONFIGS_DIR)/$(@:%-config=%)/ThornList;\
fi ;\
+ if test -n "$(THORNS)" ; \
+ then \
+ echo $(THORNS) >> $(CONFIGS_DIR)/$@/ThornList ; \
+ fi ; \
echo $(DIVIDER) ; \
if test "x$(PROMPT)" = "xno" ; then \
$(MAKE) $(@:%-config=%) WARN=$(WARN); \
@@ -845,6 +853,10 @@ downsize:
echo Using ThornList $(THORNLIST_DIR)/$(THORNLIST) ; \
cp $(THORNLIST_DIR)/$(THORNLIST) $(CONFIGS_DIR)/$@/ThornList ; \
fi ; \
+ if test -n "$(THORNS)" ; \
+ then \
+ echo $(THORNS) >> $(CONFIGS_DIR)/$@/ThornList ; \
+ fi ; \
echo $(DIVIDER) ; \
if test "x$(PROMPT)" = "xno" ; then \
$(MAKE) $(@:%-config=%) WARN=$(WARN); \