Installing software packages using the source code is a fairly standard task in Linux that involves resolving dependencies, compiling the source code, moving it to the correct location, and optionally executing it. The Make utility was created to automate and simplify this workflow.
Our work with LeJOS-based EV3 programs is very similar. We write code in Java files, use LeJOS libraries as dependencies, compile them with Gradle, transfer the executable
.jar files using
scp (SSH) to EV3, and then optionally execute them on EV3 over SSH. This similarity motivates the use of the Make utility to automate these tasks.
A further advantage of using Make is that once we have the configuration correctly set up in a Makefile, we ...