diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-01-22 11:31:58 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-01-22 11:31:58 +0000 |
commit | 552abbcda3b950a6aad048ba2c161d84970c984f (patch) | |
tree | b378b493ec5a8a3dc84d1ceb834c85c83e6babd7 /lib/make/make.thornlib | |
parent | 8e97282f8e8c1c9862ed9a7b7e92b7274cda7f61 (diff) |
Now preprocesses c files into the appropriate build directory, then
changes directory to $(TOP)/scratch and builds the file there, putting
the object file in the appropriate build directory.
When this is done for F90 it should mkae sure that all module files
end up in one place and are available for the F90 compiler.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@107 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/make.thornlib')
-rw-r--r-- | lib/make/make.thornlib | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib index d0ae1667..79d427ca 100644 --- a/lib/make/make.thornlib +++ b/lib/make/make.thornlib @@ -11,6 +11,10 @@ # Silence all but designated output #.SILENT: +# Dividers to make the screen output slightly nicer +DIVEL = __________________ +DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL) + # Include the main make definitions for this configuration include $(CONFIG)/make.config.defn @@ -48,6 +52,7 @@ SRCS = $(CCTK_SRCS) OBJS = $(patsubst %,%.o,$(basename $(SRCS))) $(NAME): $(addsuffix .check, $(SUBDIRS)) $(OBJS) $(SRCDIR)/make.code.defn $(foreach DIR,$(SUBDIRS), $(SRCDIR)/$(DIR)/make.code.defn) + @echo $(DIVIDER) if [ -r $(NAME) ] ; then echo Updating $(NAME) ; else echo Creating $(NAME) ; fi $(AR) $(ARFLAGS) $@ $(OBJS) # $(RANLIB) $@ |