summaryrefslogtreecommitdiff
path: root/lib/make/make.configuration
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-22 08:14:26 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-01-22 08:14:26 +0000
commitada392b80647115420cf6d340278d244d1a0286e (patch)
tree614a6d890ddc435279b06c8c1fd960b0970108c5 /lib/make/make.configuration
parent716bb0e8db52a0a6abd637c0786ae84eae644218 (diff)
Now passes through defines to the preprocessor to allow the parameters to work.
Now all you need to do is #include "config.h" and #include "cctk_parameters.h" at the top of your c source file, and then state DECLARE_PARSER at the top of any subroutine where you want to use the parameters. Note that the flesh should use the getparameter subroutine, rather than this method, otherwise it may need to be recompiled whenever someone adds a public parameter. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@104 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.configuration')
-rw-r--r--lib/make/make.configuration4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index 85bfd10c..9899c345 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -9,7 +9,7 @@
# @@*/
# Silence all but designated output
-.SILENT:
+.SILENT:
# Some configuration variables
CONFIG = $(TOP)/config-data
@@ -64,7 +64,7 @@ $(CCTK_LIBDIR)/lib%.a: update
cd $(BUILD_DIR)/$$thorn_name ; \
if [ -r "$$src_dir/Makefile" ] ; then make_file=$$src_dir/Makefile ; \
else make_file=$(MAKE_DIR)/make.thornlib ; fi ; \
- $(MAKE) TOP=$(TOP) SRCDIR=$$src_dir CONFIG=$(CONFIG) NAME=$@ -f $$make_file
+ $(MAKE) TOP=$(TOP) SRCDIR=$$src_dir CONFIG=$(CONFIG) NAME=$@ THORN=$$thorn_name -f $$make_file
@echo $(DIVIDER)