what are the best resources to learn makefile and how to understand large codebases

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/cpp_questions

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • pymake

    Parse GNU Makefiles with Python. Work in progress!

    There's wonky fun stuff you can do with the Make functions. I had some simple mathematical functions working in Make using string length. https://github.com/linuxlizard/pymake/blob/master/math.mk

  • Apache Ant

    Apache Ant is a Java-based build tool. (by apache)

    make has many detractors, but I've shipped some fairly large projects using nothing but it as the build system. Once you've settled on a particular implementation of make, you can get a lot done with it. The pain comes in when you want to do even modestly interesting things and you need it to work on both GNU make and SysV (or BSD) make. Its syntax also speaks loudly as to the era which it's from, but the same could be (unfavorably) said of things like Visual Studio project files and Ant.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • tinyraycaster

    486 lines of C++: old-school FPS in a weekend

    Don't just jump into the source file , read the make file first, from there you'll know how main file is dependent on other files , and start with the .h(header files as they'll give a basic idea what their corresponding .cpp file do and yeah start with small Repos first as they are easier to understand like this one.

  • Konsole_chess

    play chess from terminal

    btw ,Im building a simple terminal based chess game from scratch , that repo has started look complex even though ive only implemented the ui part.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts