aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
blob: a69758685ffbba49b96bfaa0573ad22e433d52b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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.

FORMALINE_BIN_DIR = $(SCRATCH_BUILD)/Formaline/bin

FORMALINE_TAR_FILES = gethostname.pl makeblob.pl makemetablob.pl
FORMALINE_GIT_FILES = git-add-thorn.pl git-commit-everything.pl git-gc-repo.pl git-get-localdir.pl git-init-local-repo.pl git-init-master-repo.pl git-init-repo.pl git-lock.pl git-push-everything.pl git-rm-unused-thorns.pl git-rm-thorn.pl

$(CCTK_TARGET): $(FORMALINE_TAR_FILES:%=$(FORMALINE_BIN_DIR)/%) $(FORMALINE_GIT_FILES:%=$(FORMALINE_BIN_DIR)/%)

$(FORMALINE_BIN_DIR)/%.pl: $(SRCDIR)/util/%.pl
	mkdir -p $(FORMALINE_BIN_DIR)
	cp $^ $@