Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.73 KB

File metadata and controls

63 lines (45 loc) · 2.73 KB

Makefile documentation

This folder contains the base makefile targets.

The project uses a Makefile to automate most operations. If make is available on your machine there's a good chance this will work.

The Makefiles

The following Makefile files should not be modified, but can be consulted:

The following Makefile files are project or user specific and can be modified by project users:

  • Makefile.variables : Shared project variables.
    • In this file, you can activate or deactivate target groups, and configure settings according to your project's needs.
  • Makefile.targets : Shared project targets.
  • Makefile.private : User specific variables and targets.
    • This file is ignored by git and should never be committed, as it can also contain secrets. You can override project configurations for local requirements, as well as personal preferences.
    • You can create your own version locally by copying from Makefile.private.example

Basic Information

The different targets and their description can be examined by executing the command:

If there is a problem with the contents of these targets, please open an issue here.

If you know how to fix the problem, please also consider opening a pull request with your proposed solution.

You can always override the faulty targets located here by creating new targets with the same names inside Makefile.targets.

The Makefile and bump-my-version related files in this directory are to help with change tracking for the makefile itself. If you are using this makefile as part of a template in another repository, you won't have to interact with them.

Tests

Makefile tests can be found in the .make/tests/ folder. Current tests are essentially bash scripts to test the different makefile targets.

These should only be run when modifying the makefiles inside the Template's repository.

They should never be run in a project implemented from the template, as they could cause side effects to your project.