summaryrefslogtreecommitdiff
path: root/src/util/Makefile.standalone
diff options
context:
space:
mode:
authorjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-07-19 16:30:04 +0000
committerjthorn <jthorn@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-07-19 16:30:04 +0000
commit2c399cc0ac1e7cec96e03b792f362f7c1b37e11a (patch)
treebcf9bf32eed5fa2ab984cd0f1f5f9b2aad62cec4 /src/util/Makefile.standalone
parent8fadf6efee42b33300f8df4299de326be1238bc1 (diff)
add header comment explaining why all the complciated machinery is needed :)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3313 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/util/Makefile.standalone')
-rw-r--r--src/util/Makefile.standalone9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/Makefile.standalone b/src/util/Makefile.standalone
index 5e3c0061..4ded88a8 100644
--- a/src/util/Makefile.standalone
+++ b/src/util/Makefile.standalone
@@ -1,6 +1,15 @@
# Makefile for test drivers in this directory
# $Header$
+#
+# We want to compile standalone test drivers which may use other flesh
+# routines (eg Util_*()), so we have to link with -lCactus. That means
+# we also need to link against a bunch of other libraries which -lCactus
+# uses. The current "solution" is to find a configuration (just the first
+# one in the configs directory) and grab the libraries it specifies.
+# This is a kludge, but it seems to work fairly well...
+#
+
# defaults -- override from command line as desired
CC := gcc
CFLAGS := -Wall -W -Wno-unused -Wshadow -Winline -Wpointer-arith \