From fd0433603e3af58935efcbc69d97a69b4f0f56d5 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Thu, 25 Mar 2021 19:30:17 -0600 Subject: special targets aren't non-special targets --- yapymake/makefile/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py index c3cdddf..5e879d0 100644 --- a/yapymake/makefile/__init__.py +++ b/yapymake/makefile/__init__.py @@ -148,7 +148,7 @@ class Makefile: else: # it's a target rule! for target in targets: - if self.first_non_special_target is None: + if self.first_non_special_target is None and not target.startswith('.'): self.first_non_special_target = target # > A target that has prerequisites, but does not have any commands, can be used to add to the # > prerequisite list for that target. -- cgit v1.2.3