Refactored world runner.
[hollow-plutonium.git] / hopengl-test / clean.pl
blobeb2cf609256944bc22b284964e3497a947d1db22
1 #!/usr/bin/perl
3 use strict;
4 use File::Find;
6 sub clean {
7 my $file = $_;
8 if ($file =~ /^*\.hi$/) {
9 print "Cleaning $File::Find::name\n";
10 unlink $file;
12 if ($file =~ /^*\.o$/) {
13 print "Cleaning $File::Find::name\n";
14 unlink $file;
18 find(\&clean, ("."));
19 print "Directory Cleaned\n";