diff options
author | Daniel McCarney <daniel@binaryparadox.net> | 2023-07-10 16:15:15 -0400 |
---|---|---|
committer | Jacob Hoffman-Andrews <github@hoffman-andrews.com> | 2023-07-11 11:01:20 -0700 |
commit | 5e643b4a6d82dedbdb9e1a9b95661432d82b7cb5 (patch) | |
tree | 24f401ed7ac22fa6706ea65c0722ace5f0f798b7 | |
parent | 63c8f5af0ac6038210c9155f6e53d6d7507a7d50 (diff) |
Makefile: fix PHONY targets.
The `all`, `clean`, and `test` aren't traditional file targets: they
don't produce a built artifact on disk from other files. If there were
to be a file with a matching name found in the workdir these targets
wouldn't perform their jobs as expected, thinking the workdir was
up-to-date.
This commit marks these targets as "PHONY" targets, telling Make that
they're not associated with produced files and are meta-targets for
running helpful commands.
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,3 +60,5 @@ install: target/$(PROFILE)/librustls_ffi.a clean: rm -rf target + +.PHONY: all clean test |