diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-26 09:10:38 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-26 09:11:35 +0200 |
commit | 3e3d8d6c13e6b4207a97aee117236b8ca70b9fbe (patch) | |
tree | 2c89e0f343d40280d0b1f715b10d4591e21725fc /showdeps | |
parent | eb7709d8617bec27349eebb43e8941b3aaaf453e (diff) | |
download | EpisodeBrowser-3e3d8d6c13e6b4207a97aee117236b8ca70b9fbe.tar.gz |
Use CMake.
I don't love it, but it makes it possible to support Visual Studio in
addition to MinGW GCC.
Diffstat (limited to 'showdeps')
-rw-r--r-- | showdeps | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/showdeps b/showdeps deleted file mode 100644 index 56d355f..0000000 --- a/showdeps +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env perl - -use strict; -use warnings; - -my @targets; -my @keys; -my %prereqs; - -$ENV{LANGUAGE} = "en_US"; -for (`make --debug=b -n`) { - next if not /Prerequisite [`']([^']+)' is newer than target [`']([^']+)'/; - - # Don't consider prerequisites that are targets. - unless ($ARGV[0] and $ARGV[0] eq '-a') { - push @targets, $2 if not grep { $_ eq $2 } @targets; - next if grep { $_ eq $1 } @targets; - } - - push @keys, $1 if not grep { $_ eq $1 } @keys; - push @{$prereqs{$1}}, $2 if not grep { $_ eq $2 } @{$prereqs{$1}}; -} - -if (@keys) { - print "---\n"; - print "$_ -> @{$prereqs{$_}}\n" for @keys; - print "---\n"; -} |