From feda1f5f9b1046223b3cc109ecfc0d017243a023 Mon Sep 17 00:00:00 2001 From: aquanight Date: Sun, 24 Feb 2008 14:07:25 +0000 Subject: Make run-cc.pl show all sources on multi-source BUILDS (== socketengine and threadengine) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9012 e03df62e-2008-0410-955e-edbf42e46eb7 --- make/run-cc.pl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/make/run-cc.pl b/make/run-cc.pl index 0b0ac5bad..b12466e2c 100755 --- a/make/run-cc.pl +++ b/make/run-cc.pl @@ -86,9 +86,19 @@ foreach my $n (@ARGV) { if ($n =~ /\.cpp$/) { - $action = "BUILD"; - $name = $n; - last; + if ($action eq "BUILD") + { + $name .= " " . $n; + } + else + { + $action = "BUILD"; + $name = $n; + } + } + elsif ($action eq "BUILD") # .cpp has priority. + { + next; } elsif ($n eq "-o") { -- cgit v1.2.3