next up previous contents
Next: Cactus Variables Up: Adding Source Files Previous: Makefile based thorn building   Contents

Other makefile variables

  • CPP: The C preprocessor which is used to preprocess C and C++ source code, and to determine the C and C++ make dependencies
  • FPP: The C preprocessor which is used to preprocess Fortran source code
  • CPPFLAGS: Flags which are passed to CPP, to CC, and to CXX
  • FPPFLAGS: Flags which are passed to FPP
  • CC: The C compiler
  • CXX: The C++ compiler
  • F77: The Fortran 77 compiler. This is only used if there is no Fortran 90 compiler
  • F90: The Fortran 90 compiler. If this variable is set, it is also used to compile Fortran 77 files
  • CFLAGS: Flags which are passed to CC
  • CXXFLAGS: Flags which are passed to CXX
  • F77FLAGS: Flags which are passed to F77
  • F90FLAGS: Flags which are passed to F90
  • LD: The binder. This should not be directly ld, but should be a compiler driver such as C++. Often, LD is the same as CXX
  • LDFLAGS: Flags which are passed to LD


next up previous contents
Next: Cactus Variables Up: Adding Source Files Previous: Makefile based thorn building   Contents