summaryrefslogtreecommitdiff
path: root/lib/make/make.subdir
Commit message (Collapse)AuthorAge
* Changes for ticket #768sbrandt2012-06-18
| | | | | | | | Change per thorn -DTHORN_IS_xxx to a per thorn -I bindings/include/xxx git-svn-id: http://svn.cactuscode.org/flesh/trunk@4839 17b73243-c579-4c4c-a9d2-2d5706c11dac
* fix issue #586: bashisms, and uppercase VERBOSE=YES, as well as a couple of ↵knarf2011-09-28
| | | | | | minor cosmetics issues git-svn-id: http://svn.cactuscode.org/flesh/trunk@4739 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Replace the SILENT option with a VERBOSE option (of opposite meaning). Defaultknarf2011-09-27
| | | | | | | | | is still VERBOSE=no, but this now actually produces a lot less output: almost no "cosmetic" lines (only ---), and no messages for pre- and postprocessing anymore. Add VERBOSE=yes to get the old beavior of SILENT=no. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4737 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Re-read make.$(THORN).defn files from make.subdir, so that the makeschnetter2008-07-25
| | | | | | | variables which are set there are known when compiling. git-svn-id: http://svn.cactuscode.org/flesh/trunk@4499 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Include the bindings configuration make.code.defn for a thorn.tradke2004-05-17
| | | | git-svn-id: http://svn.cactuscode.org/flesh/trunk@3735 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Making things depend upon make.code.defn files, which should fixgoodale2003-02-28
| | | | | | | | | PR/1420. It's a bit more problematic for make.code.deps files... Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@3157 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Use echo "" > file to create files rather than touch file.allen2002-08-20
| | | | | | | Fixes NFS problem described in Cactus/994 git-svn-id: http://svn.cactuscode.org/flesh/trunk@2971 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changing name of make variable used to pass make target to submakes to ↵goodale2001-06-13
| | | | | | | | | | | | CCTK_TARGET as TARGET seems to conflict with an environment variable used by the compilers on the T3E. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2230 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Several inter-twined changes: -goodale2001-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make system now looks in bindings/build/$(THORN)/make.code.defn for additional objects to be built and linked into a library. The CST puts a file cctk_ThornBindings.c into this directory. This should solve the empty library problem - PR 638. The interface to the internal routine CCTKi_RegisterThorn has changed. The new file created by the CST uses the correct new syntax, ands passes information about ancestors and friends into the flesh. Hence the commit of two separate things in one commit, as the both changes require a -rebuild. Please do a make <config>-rebuild or your code will not compile. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2199 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed so that make.subdir is used for building all user-supplied files.goodale2001-05-09
| | | | | | | | | | Optimised a bit so libs and executable are only rebuilt if a source file/header has really changed. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2158 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Change to allow files with the same basename but differnt languages to begoodale1999-09-10
| | | | | | | | | | | | | | | | | | | | | | allowed in a thorn. This also makes the names of the dependency files unique, so should also solve PR CCTK/75. You will need to do a <config>-config after this, or do cp lib/make/make.config.rules.in configs/<config>/config-data/make.config.rules in order for everything to work again. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@894 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed the way include files are handled slightly. This shouldgoodale1999-02-27
| | | | | | | | | | shorten some include paths, and allows us to add system include paths like the path to mpi.h easily. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@352 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Added dependencies for the source files.goodale1999-01-22
| | | | | | | Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@105 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now passes through defines to the preprocessor to allow the parameters to work.goodale1999-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | Now all you need to do is #include "config.h" and #include "cctk_parameters.h" at the top of your c source file, and then state DECLARE_PARSER at the top of any subroutine where you want to use the parameters. Note that the flesh should use the getparameter subroutine, rather than this method, otherwise it may need to be recompiled whenever someone adds a public parameter. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@104 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed siniclude to -include, as older versions of gmake don't recognisegoodale1999-01-19
| | | | | | | | | sinclude. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@70 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Changed some include statement to sinclude to prevent extraneous warninggoodale1999-01-19
| | | | | | | | | | | | messages. Now the presence of make.code.deps in a thorn's directory or subdirectories is optional. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@68 17b73243-c579-4c4c-a9d2-2d5706c11dac
* Now make will recurse into subdirectories of a thorn.goodale1999-01-18
In your make.code.defn file put lines SRCS = <sources in this directory> SUBDIRS= <all subdirectories - e.g. what find . -type d would give you> then in each subdirectory put a make.code.defn containing SRCS = <sources in this directory> (N.B. you cannot currently put a SUBDIRS line here) along with make.code.deps files in all the directories. Make will then go into the relevant subdirectory and make the object files there before updating the library file. The first time it does this you will get errors of the form cannot find <subdir-name>/make.identity you should ignore these errors, as the make system then creates the files. If I find a way to do this without the errors, I'll be happy 8-) The files are used to keep track of the subdirectory filenames. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@66 17b73243-c579-4c4c-a9d2-2d5706c11dac