Mark some non-file targets as phony

Targets that do not create files named after the targets need to be phony.

This avoids conflicts with accidentally created files and
increases performance very slightly.

Suggested-by: checkmake
parent 92adf593
......@@ -5,7 +5,7 @@ export PATH:=$(CURDIR)/bin:$(PATH)
export CURLRC=$(CURDIR)/etc/curl.conf
export APT_CONFIG=$(CURDIR)/etc/apt.conf
.PHONY: var clean
.PHONY: all var clean
all: var
......@@ -37,7 +37,7 @@ all: $(ALL)
rm -rf $(ALL) *.remote-timestamp
.PHONY: all clean check
.PHONY: all clean cleanup check
# FORCE is a trick to get the targets that depend on it
# to always run even when their file already exists.
......@@ -7,7 +7,7 @@ export APT_CONFIG=$(CURDIR)/../etc/apt.conf
derivatives := $(shell cat derivatives)
.PHONY: all clean review $(derivatives)
.PHONY: all clean cleanup review $(derivatives)
ALL = \
HEADER.html \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment