diff options
-rw-r--r-- | yapymake/makefile/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py index 006dfbe..0290e9f 100644 --- a/yapymake/makefile/__init__.py +++ b/yapymake/makefile/__init__.py @@ -93,6 +93,8 @@ class Makefile: # > more non-empty fields, the behavior is unspecified. If it results in one non-empty field, that # > field is taken as the pathname. # (GNU make will include each field separately, so let's do that here) + if len(fields) != 1: + print('warning: non-POSIX multi-file include') for included_file in fields: # > The contents of the file specified by the pathname shall be read and processed as if they # > appeared in the makefile in place of the include line. |