summaryrefslogtreecommitdiff
path: root/lib/make/make.config.defn.in
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-06 22:27:11 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-06 22:27:11 +0000
commit1a8dbaee5f1a9e40180215f3af984a3cef40a05d (patch)
tree9eceb55a5131bc2a463c47073e338b8967a54753 /lib/make/make.config.defn.in
parentab3270bfb33ecfb9ae2480978857abffa8517051 (diff)
Added yet another thing which can be set by the known-architecture stuff:
CXX_WORKING_NAME this defaults to the working name being the filename without the directory info, but can be used to give the file generated after preprocessing a different name. E.g. if your machine requires C++ files to end with .C you should be able to do CXX_WORKING_NAME='$(notdir $<).C to solve the problem. At some point we're going to have to go through all these obscure flags and decide on nice names and what functionality they really should have. For instance the above could also have been done by introducing CXX_SUFFIX which would of course be easier for the end-user, but might in some circumstances be less useful. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1420 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.config.defn.in')
-rw-r--r--lib/make/make.config.defn.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/make/make.config.defn.in b/lib/make/make.config.defn.in
index 9d734140..0574666b 100644
--- a/lib/make/make.config.defn.in
+++ b/lib/make/make.config.defn.in
@@ -91,6 +91,10 @@ CXX_DEPEND_OUT = @CXX_DEPEND_OUT@
F_DEPEND_OUT = @F_DEPEND_OUT@
F77_DEPEND_OUT = @F77_DEPEND_OUT@
+# Some compilers are very picky about the names of C++ files
+
+CXX_WORKING_NAME = @CXX_WORKING_NAME@
+
# Exclude some files from the dependency lists
DEP_EXCLUDE_FILES = CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h