Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • G graphviz
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 544
    • Issues 544
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • graphviz
  • graphviz
  • Repository
Switch branch/tag
  • graphviz
  • dot.demo
  • Makefile
Find file BlameHistoryPermalink
  • Mark Hansen's avatar
    Mark Makefiles that don't generate files as .PHONY · 59b4e4d1
    Mark Hansen authored May 16, 2020
    See
    https://www.gnu.org/software/make/manual/html_node/Phony-Targets.html.
    
    These targets aren't the name of a file, they're just a name for some
    behaviour to run.
    
    Marking them as .PHONY ensures that even if a file called 'clean' or
    'distclean' or 'all' or 'install' exists in the directory, the code will
    still be run.
    59b4e4d1