next up previous contents
Next: lib/make/make.thornlib Up: Make files Previous: Makefile   Contents


lib/make/make.configuration

This is the makefile which actually builds a configuration.

All built objects for a configuration go into a subdirectory called build of the configuration.

For each thorn listed in the make.thornlist file generated by the CST it runs make.thornlib or a file called makefile in the thorn's own source directory to generate a library for that thorn. Before running the sub-makefile it changes directory to a subdirectory of the build directory with the same name as the thorn and sets

  • TOP The CCTK top-level directory.
  • SRCDIR The thorn's source directory.
  • CONFIG The config subdirectory of the configuration.
  • NAME The name of the library which should be created for the thorn (including directory info).
  • THORN The name of the thorn.

The sub-makefile is passed the -j FJOBS flag to build FJOBS files in parallel.

If make.thornlist doesn't exist, it runs the CST to generate it from the ThornList file.

If ThornList doesn't exist, it generates a list of thorns in the arrangements and then gives the user the option to edit the list.


next up previous contents
Next: lib/make/make.thornlib Up: Make files Previous: Makefile   Contents