The Bela Makefile - BelaPlatform/Bela GitHub Wiki
This material has been superseded. Visit learn.bela.io for the maintained version.
The Makefile
that you find in the Bela repo is central to the way the board is managed.
It takes care not only of the building process, but also of running and stopping Bela programs and the IDE and manages running Bela programs and the IDE at startup.
Normally, you would not have to invoke the Makefile
yourself, but you can pass parameters to it from either the IDE or the build scripts.
The Makefile
file you find in the Bela repo is self-documenting, which means that some of the textual comments in the file are displayed to the user running:
$ make help
The help
target should work regardless of the fact that you invoke it from the board or from the host computer (as long as you have make
installed). Other targets will only work if make
is invoked from the board.