From 2c63018ed2a898f540b7e97b30667523bc5eed27 Mon Sep 17 00:00:00 2001 From: Andi Drebes Date: Tue, 26 Oct 2021 16:49:09 +0200 Subject: [PATCH] fix(compiler): Makefile: Make targets without file dependencies PHONY Most of the targets in `Makefile` do not deped on files produced by other targets and use target names solely for dependency management. Make all such targets PHONY in order to avoid that they are skipped accidentially when a file with the same name is present. --- compiler/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/compiler/Makefile b/compiler/Makefile index 7055fd1dc..24b61831d 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -64,3 +64,18 @@ package_py39: package_py310: $(call build_image_and_copy_wheels,cp310-cp310) + +.PHONY: build-initialized \ + build-end-to-end-jit \ + zamacompiler \ + python-bindings \ + test-check \ + test-end-to-end-jit \ + test-python \ + test \ + add-deps \ + file-check \ + not \ + package_py38 \ + package_py39 \ + package_py310