Back to concepts

Phony targets

Use phony targets for named build behavior that must never be confused with a file.

Continue this concept

The summary remains public. Full access unlocks the complete phony targets explanation and worked examples.

View full-access options

See it in context

Follow the lessons that apply this concept, then inspect the repository at the exact commit behind each explanation.

GNU Make manual: Phony Targets