aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
blob: 7eb710f26d827fd540515d3675d7ee15575d8887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# make.code.deps file for thorn Formaline   -*-Makefile-*-

# Store the utilities in the scratch directory of this configuration.

# This has to live here in the file make.code.deps instead of in the
# file make.configuration.deps because only here the location of the
# source directory is known.

TARBALL_DIR = $(SCRATCH_BUILD)

$(CCTK_TARGET): $(TARBALL_DIR)/gethostname.pl $(TARBALL_DIR)/makeblob.pl $(TARBALL_DIR)/makemetablob.pl $(SCRATCH_BUILD)/git-lock.pl



$(TARBALL_DIR)/gethostname.pl: $(SRCDIR)/util/gethostname.pl
	cd $(TARBALL_DIR) && cp $^ $@

$(TARBALL_DIR)/makeblob.pl: $(SRCDIR)/util/makeblob.pl
	cd $(TARBALL_DIR) && cp $^ $@

$(TARBALL_DIR)/makemetablob.pl: $(SRCDIR)/util/makemetablob.pl
	cd $(TARBALL_DIR) && cp $^ $@

$(SCRATCH_BUILD)/git-lock.pl: $(SRCDIR)/util/git-lock.pl
	cd $(SCRATCH_BUILD) && cp $^ $@