make

    make command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.4
    License
    Apache-2.0
    Last updated
    10 hours ago
    Downloads
    85

    #make

    Run a Make language subset for MoonX.

    moonx cli/make@0.2.4 [-B] [-k] [-n] [-s] [-j [N]] [-W FILE] [-C DIR] [-f FILE] [VARIABLE=VALUE] [TARGET...]

    #Supported scope

    Build targets with dependencies, variables, includes, conditionals, patterns, automatic variables, exports and parallel recipe chains.

    #Options

    OptionDescription
    -f, --file FILESelect a makefile.
    -C DIRChange working directory.
    -n, --just-printPrint recipes without running them.
    -s, --silentSuppress recipe echo.
    -B, --always-makeForce rebuilding.
    -j [N]Run up to N recipe chains; bare -j allows all ready targets.
    -kContinue independent targets after failures.
    -W FILETreat FILE as newly modified.
    NAME=VALUE / TARGETSet variables / select targets.
    --help / --versionShow help / package version.

    #Limitations

    • Short flags must be separate: use -n -s, not -ns.
    • GNU's complete built-in database, jobserver, secondary expansion and recursive shell-valued exports are unsupported.
    • Recipes use the supported sh language subset.

    #Examples

    moonx cli/make@0.2.4 -n moonx cli/make@0.2.4 -f build.mk -j 2 all

    MakeError

    type MakeError

    Database

    type Database

    Rule

    type Rule

    Settings

    type Settings

    Variable

    type Variable

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io