Added die if no target file argument

This commit is contained in:
Janet Anderson
2012-07-31 10:44:33 -05:00
parent dabd0a969b
commit 4133b666a0

View File

@@ -42,7 +42,7 @@ getopts( 'dm:I@' ) || die "\aSyntax: $0 [-d] [-m dependsFile] [-I incdir [-I inc
my $debug = $opt_d;
my $depFile = $opt_m;
my @incdirs = @opt_I;
my $objFile = shift;
my $objFile = shift or die "No target file argument";
my @srcFiles=@ARGV;
if( $debug ) {