diff options
Diffstat (limited to 'mkdep.pl')
-rwxr-xr-x | mkdep.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -138,10 +138,10 @@ while ( defined($arg = shift(@ARGV)) ) { push(@mkfiles, $arg); } elsif ( $arg eq '-M' ) { $mkmode = 1; # Futher filenames are output Makefile names - } elsif ( $arg =~ /^-/ ) { - die "Unknown option: $arg\n"; } elsif ( $arg eq '--' && $mkmode ) { $mkmode = 0; + } elsif ( $arg =~ /^-/ ) { + die "Unknown option: $arg\n"; } else { if ( $mkmode ) { push(@mkfiles, $arg); |