aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
blob: 7f48ec8e878a840f0292f9067419fb12a996dcac (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 $(TARBALL_DIR)/git-commit.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 $^ $@

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