Now on Omarchy: read the manual without leaving your desktop

Cheat Sheet

The commands you keep forgetting, with a one-line description and a real example you can copy - 629 across 38 tools. Pick a tool in the sidebar, or search across all of them.

Showing make (Makefiles). Choose another tool in the sidebar, or search all 629 commands.

make (Makefiles)

Run project tasks with make - targets, variables, and the Makefile patterns that recur.

15 commands
CommandWhat it doesExample
makeRun the first target in the Makefile.make
make <target>Run a specific target.make build
rule anatomytarget: prerequisites, then TAB-indented commands.build: main.c gcc -o app main.c
.PHONYMark targets that aren't files, so they always run..PHONY: clean test deploy
variablesDefine once at the top, reuse below.CC = gcc CFLAGS = -Wall -O2
$(VAR)Expand a variable inside a recipe.$(CC) $(CFLAGS) -o app main.c
make VAR=valueOverride a variable from the command line.make deploy ENV=staging
chained targetsA target can simply depend on other targets.ci: lint test build
make -jRun independent jobs in parallel.make -j8
make -nDry run - print commands without running them.make -n deploy
make -CRun make in another directory.make -C platform build
make -BForce a rebuild even if everything is up to date.make -B build
$@ and $<Automatic variables: target and first prerequisite.%.o: %.c $(CC) -c $< -o $@
@ prefixSilence a command (don't echo it).@echo "Deploying to $(ENV)"
ifeqBranch on a variable's value (no tab before ifeq lines).ifeq ($(ENV),prod) FLAGS = --minify endif