rmyorston / pdpmake

Public domain POSIX make
https://frippery.org/make
Other
103 stars 10 forks source link

include and multiple pathnames #9

Closed illiliti closed 2 years ago

illiliti commented 2 years ago

Currently, pdpmake accepts multiple pathnames for include keyword. However, as specified in current POSIX spec, include must accept only one pathname.

Should pdpmake follow POSIX and, as a result, prohibit the use of multiple pathnames( in POSIX mode)?

illiliti commented 2 years ago

Also note that next POSIX issue will allow more than one pathname: https://www.austingroupbugs.net/view.php?id=518

rmyorston commented 2 years ago

The standard specifies what to do if one pathname is provided. What happens with zero or more than one is unspecified. That's not the same as saying only one pathname is allowed.

illiliti commented 2 years ago

Ah, i see i see. Closing then