This involves a few additional steps comparing with adding a single source file.
- Create a new directory in
src/lab
. - Put all related sources there or in
src/lab/common
(if you think that they are generic enough and may be reused by other modules). - Define
module-name.build.js
andpublic-api.js
files in your new directory (described below). - Add build routines to the
Makefile
: