paint-brush
What Does .PHONY Do in a Makefile?by@alexandrunastase
3,019 reads
3,019 reads

What Does .PHONY Do in a Makefile?

by Alexandru NastaseFebruary 9th, 2023
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

The.PHONY directive is used to mark a target as phony. That means a target that doesn't take into consideration for execution any file that matches its name. Let's say we have a target called `clear-cache', which removes the cache of an application.
featured image - What Does .PHONY Do in a Makefile?
Alexandru Nastase HackerNoon profile picture
Alexandru Nastase

Alexandru Nastase

@alexandrunastase

L O A D I N G
. . . comments & more!

About Author

Alexandru Nastase HackerNoon profile picture
Alexandru Nastase@alexandrunastase

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite