aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yapymake/makefile/__init__.py2
1 files changed, 1 insertions, 1 deletions
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.