From 6da3b9be51b97746af0aba5d98cf120e4f3cf57e Mon Sep 17 00:00:00 2001 From: aquanight Date: Tue, 12 Feb 2008 01:22:19 +0000 Subject: Tidy up run-cc step display git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8906 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/run-cc.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'make') 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; -- cgit v1.2.3