Skip to content

MakeMake v1.0.2

Choose a tag to compare

@Electron7-7 Electron7-7 released this 02 Aug 00:29
· 77 commits to trunk since this release

One very minor change, and one very major fix. Skipping over v1.0.1.

The Very Minor Change

Added '-std=c11' to FLAGS_CC_COMMON

The Very Major Fix

Fixed a bug when run on a project with a larger number of source directories/files. Due to the 'makefile' variable being locally scoped in the 'GenerateDefaultMakefile' function, makemake would spit garbage data (or crash!) if the program took too long to process (e.g: lots of source code to parse)

Note for Windows users

Windows Defender will probably throw a fit bc I didn't pay money to sign my executable. If you don't trust me, then compile the source code yourself. Otherwise, tell Windows Defender to chill out and let you run this program, lol.

    Usage: makemake [-hvn] [--no-color] [-s|--source <source_code_dir>] [-p|--name <global_ProgramName>]
        -h, --help              print help document
        -v, --version           print program version
        -n, --dry-run           print the generated Makefile instead of creating/replacing it
        -s, --source SOURCEDIR  set the source code directory (defaults to 'src')
        -p, --name NAME         set the name of the final binary (defaults to the name of the current directory)

    Examples:
        makemake
        makemake -s my_source_code_is_in_this_directory
        makemake -p the-name-of-my-executable
        makemake -n >> Makefile.test