blob: 71e826696d1c5f71a4536c1f2c3fb94e1890339d (
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
26
27
28
29
|
# make.code.deps file for thorn Formaline -*-Makefile-*-
# $Header$
# Create the "makeblob" utility whenever this thorn is compiled.
# Store it 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 file makeblob.c is known.
TARBALL_DIR = $(SCRATCH_BUILD)
$(CCTK_TARGET): $(TARBALL_DIR)/makeblob $(TARBALL_DIR)/makemetablob
$(TARBALL_DIR)/makeblob: $(TARBALL_DIR)/makeblob.o
cd $(TARBALL_DIR) && $(LD) $(LDFLAGS) -o $@ $^
$(TARBALL_DIR)/makeblob.o: $(SRCDIR)/util/makeblob.c
cd $(TARBALL_DIR) && $(CC) $(CFLAGS) -c $^
$(TARBALL_DIR)/makemetablob: $(TARBALL_DIR)/makemetablob.o
cd $(TARBALL_DIR) && $(LD) $(LDFLAGS) -o $@ $^
$(TARBALL_DIR)/makemetablob.o: $(SRCDIR)/util/makemetablob.c
cd $(TARBALL_DIR) && $(CC) $(CFLAGS) -c $^
|