2006-08-07 04:10:02 +00:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
2006-09-11 03:29:49 +00:00
|
|
|
print "--- building libsecondlife-cs\n";
|
|
|
|
|
|
|
|
|
|
system('cd ../../libsecondlife-cs && ./build')
|
|
|
|
|
and die "*** failed to build libsecondlife-cs\n";
|
|
|
|
|
|
|
|
|
|
print "--- building Decoder\n";
|
2006-08-07 04:10:02 +00:00
|
|
|
|
|
|
|
|
if (-e 'Decoder.exe' && -M '../../libsecondlife-cs/bin/Debug/libsecondlife.dll' < -M 'Decoder.exe') {
|
|
|
|
|
system('make clean')
|
|
|
|
|
and die "*** make clean failed\n";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
system('make', @ARGV)
|
|
|
|
|
and die "*** make failed\n";
|