aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yapymake/makefile/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py
index a5cb19d..be04a5b 100644
--- a/yapymake/makefile/__init__.py
+++ b/yapymake/makefile/__init__.py
@@ -101,6 +101,9 @@ class Makefile:
# make sure we don't process an ambiguous line as both an include and something else
continue
+ # TODO figure out if this is always safe here
+ line = line.rstrip('\n')
+
# decide if this is a macro or rule
line_type = 'unknown'
line_tokens = tokenize(line)