diff options
author | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-12 01:22:19 +0000 |
---|---|---|
committer | aquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-12 01:22:19 +0000 |
commit | 6da3b9be51b97746af0aba5d98cf120e4f3cf57e (patch) | |
tree | 03a203853115dd46efc597f83f9f5ef986724391 /make/run-cc.pl | |
parent | 9433f41b1103c26ca31e860641c822efd378b10c (diff) |
Tidy up run-cc step display
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8906 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/run-cc.pl')
-rwxr-xr-x | make/run-cc.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/make/run-cc.pl b/make/run-cc.pl index 4c07632f3..71a921c61 100755 --- a/make/run-cc.pl +++ b/make/run-cc.pl @@ -86,8 +86,13 @@ foreach my $n (@ARGV) { $action = "BUILD"; $name = $n; + last; } - elsif ($n !~ /\.^-c/) + elsif ($n eq "-o") + { + $action = $name = $n; + } + elsif ($name eq "-o") { $action = "LINK"; $name = $n; |