summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authoraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-12 01:22:19 +0000
committeraquanight <aquanight@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-12 01:22:19 +0000
commit6da3b9be51b97746af0aba5d98cf120e4f3cf57e (patch)
tree03a203853115dd46efc597f83f9f5ef986724391 /make
parent9433f41b1103c26ca31e860641c822efd378b10c (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')
-rwxr-xr-xmake/run-cc.pl7
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;