# 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 $^