URL: <https://savannah.gnu.org/bugs/?65759>
Summary: handling of "-" and "--" on command line Group: make Submitter: None Submitted: Sun 19 May 2024 02:35:54 PM UTC Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.4.1 Operating System: None Fixed Release: None Triage Status: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sun 19 May 2024 02:35:54 PM UTC By: Anonymous I don't know whether this is considered a bug per se but it's pretty confusing. Consider the following makefile: $ cat Makefile all:; @:$(info making $@) $ make making all $ make - making all $ make -- making all It seems to treat "-" and "--" as options with no effect similar to -b or -m. However these are also considered legal target names: $ cat Makefile -:; @:$(info creating $@) $ make - creating - _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65759> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/