Skip to content

fix: Improving makefile#130

Open
JicLotus wants to merge 1 commit intoVirusTotal:masterfrom
JicLotus:josec/improving-makefile
Open

fix: Improving makefile#130
JicLotus wants to merge 1 commit intoVirusTotal:masterfrom
JicLotus:josec/improving-makefile

Conversation

@JicLotus
Copy link
Contributor

Description

Adding .PHONY to all Makefile commands. .PHONY tells make that a target does not represent a real file, but rather a command we want to execute (e.g. build). This prevents issues if a file or directory with the same name exists.

I’m also following a common pattern I’ve used in other projects: declaring .PHONY directly next to each target instead of grouping all .PHONY declarations at the bottom. This makes it easier to notice and reduces the chance that new targets are added without being marked as .PHONY.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant