# Building µracoli

In order to build the project or subproject, scons is used in the following way.

Help

- `scons -h`
  display a screen with the current options of the build system

Building

- `scons` or `scons all`
  build libraries and applications for all plattforms
- `scons doc`
  build documentation
- `scons libs`
  build libraries for all plattforms
- `scons apps`
  build applications for all plattforms
- `scons <BoardType>`
  build libraries and applications for specified board type:
  - `<BoardType>`: stkm16, ict230, ...
- `scons l<BoardType>`
  build libraries for specified board type
- `scons a<BoardType>`
  build applications for specified board type
- `scons x<BoardType>`
  build example applications for specified board type

Cleaning

- `scons -c <target>`
  cleaning a specific target
  - `<target>`
    all, doc, libs, apps, <BoardType>, l<BoardType>, a<BoardType>
- `scons -c distclean`
  remove all created files and directories