O'Reilly logo

Lego Mindstorms EV3 Essentials by Abid H. Mujtaba

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. The Make Utility

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required