Force rebuild ignoring timestamps

Unconditionally remake all targets (-B / --always-make)

make -B build

tool
make10 commands
tags
makelinux

More make commands

  • make -f infra/Makefile plan

    Use a Makefile in a different directory or with a different name

  • .PHONY: build test deploy clean

    Prevent make from confusing targets with files of the same name

  • build: docker build -t $(IMAGE) . && echo 'Built $@'

    $@ expands to the current target name in a recipe

  • include mk/*.mk

    Split a large Makefile into modular includes

  • make build

    Execute the 'build' target in the current Makefile

all 10 make commands