Skip to content

Code conventions

Oleksii Oleksenko edited this page Feb 15, 2017 · 3 revisions

Makefiles

Flags

All the standard variables (e.g., CFLAGS, CXXFLAGS, etc.) and the following:

  • CCFLAGS: flags used in both CC and CXX (can be expanded back into CFLAGS and CCFLAGS with $(eval $(call expand-ccflags)))

Directories

  • PROJ_ROOT: project root directory
  • BUILD_ROOT: root directory for all builds
  • BUILD_PATH: build directory for the current application
  • BIN_PATH: directory for various installations (e.g., compilers, case studies, etc.)

Configuration

  • BUILD_TYPE: current build type, e.g., gcc_native
Clone this wiki locally