Context
People may want to bundle libcartesi in other projects and may need to use other build systems, the problem is that we have some generated files that can only be generated in our Makefile build system. We should refactor our sources in a way that at least libcartesi is easy to build with other build tools (e.g CMake, node-gyp, etc).
Subtasks