aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-05-24 16:36:04 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2005-05-24 16:36:04 +0000
commitd99f83734f0ea81db3ad7c465616cb24bde2f4c0 (patch)
treed002b16e8f1274391ecd420d595f34714a119a50 /src/make.code.deps
parent28ff3a5f5499b2c4c732dfabbb326a5f91271cd7 (diff)
Use C++ for the portal code; that's cleaner.
Store the Cactus source tree in the executable and output it into the output directory. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@5 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'src/make.code.deps')
-rw-r--r--src/make.code.deps10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/make.code.deps b/src/make.code.deps
new file mode 100644
index 0000000..7eb6705
--- /dev/null
+++ b/src/make.code.deps
@@ -0,0 +1,10 @@
+# make.code.deps file for thorn Formaline -*-Makefile-*-
+# $Header$
+
+$(CCTK_TARGET): $(SCRATCH_BUILD)/makeblob
+
+$(SCRATCH_BUILD)/makeblob: $(SCRATCH_BUILD)/makeblob.o
+ cd $(SCRATCH_BUILD) && $(LD) $(LDFLAGS) -o $@ $^
+
+$(SCRATCH_BUILD)/makeblob.o: $(SRCDIR)/util/makeblob.c
+ cd $(SCRATCH_BUILD) && $(CC) $(CFLAGS) -c $^