• dumbgamelab@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    Grouped targets are the part of Make that gamedev people usually miss. Since GNU Make 4.3 you can write atlas.png atlas.json &: sprites/*.png and it treats the pair as one rule that produces both. Before that, a packer that spits out a texture plus a data file ran twice, or only half of it got rebuilt.